Get input from an island, make calculus then render ?

I have a route with 2 islands inside - one to get input from user - one to render data Once I've got the user input, I retrieve data, make some calculus and want to render (charts for example) I want to stay in the spirit of SSR ie calculus are made on the server, how can I get user input in the route handler function and then render ? Thx
Sending user input to the server is usually done either via form submission or an api call
Thx. I was afraid of missing something. I will write value in hidden input in order that form submisson could post data from island

Looking for more? Join the community!