logoalt Hacker News

franciscopyesterday at 12:32 PM3 repliesview on HN

This is an amazing resource to understand the internals/potential internals, and led me to build a small renderer that I've been using to amazing success for my own alt backend renderer. I now can do it like this:

    export default server()
      .get('/', () => <div>Hello world</div>)
      .get(...);
I've been using Bun's JSX transformer as well to do the transpilation, and since it's just a renderer on the backend I don't need to worry about events or hooks, just the rendering step. For this, the article was amazing and I learned a lot.

Replies

satvikpendemyesterday at 5:36 PM

Isn't this just a JSX template engine? For anything interactive you still need JS on the frontend. And then you essentially recreate React Server Components.

thecupisblueyesterday at 1:59 PM

I'm actually about to release something similar, if you're interested would love to share it with you - getting some feedback would really help a lot.

show 1 reply
alfonsodevyesterday at 1:03 PM

How do you handle interaction ?

show 2 replies