D
Deno

help

Get input from an island, make calculus then render ?

Ffoobar1/12/2024
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
Mmarvinh.1/12/2024
Sending user input to the server is usually done either via form submission or an api call
Ffoobar1/12/2024
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!