foobar
foobar11mo ago

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
2 Replies
marvinh.
marvinh.11mo ago
Sending user input to the server is usually done either via form submission or an api call
foobar
foobarOP11mo ago
Thx. I was afraid of missing something. I will write value in hidden input in order that form submisson could post data from island