r/javascript • u/-jeasx- • Jul 16 '25
Build your website with server rendered JSX without any hydration headaches - improved Jeasx quickstart template to get you started more easily
https://www.jeasx.devJeasx combines the developer experience of asynchronous JSX with the proven benefits of server-side rendering, resulting in a robust and streamlined web development approach.
To get you started more easily, a much improved quickstart template is available now.
2
u/creamyhorror Jul 16 '25
Hmm, I've used JSX on the server-side recently, it was a little tricky to allow writing the client-side JS and letting it reference server-side variables that are then injected into the final generated HTML. And also to do RPC-from-client with full typing/autocompletion. Will have a look at how you've done it (if you have) in Jeasx.
1
Jul 17 '25
This looks very helpful, thank you for making it easier. Building a contact form would be a great next test. I'd be happy to compare notes.
1
u/iBN3qk Jul 16 '25
We're so close to just writing html on the server and then hydrating on the front end. But that's how jquery works :)
1
u/Ronin-s_Spirit Jul 16 '25
I have a revolutionary idea insted of this. What if, hear me out, we send data to the client and the client does all the rendering it into place?
Seriously why waste server resources when clients are computers and can render stuff in their own time using their own hardware?