DEV Community

Discussion on: Thinking about going with PreactJs for dev.to

 
jvanbruegge profile image
Jan van Brügge

Why not use a second Node server just for SSR? That's what I'm doing. My API is written in Haskell, but I also have a Node server that prerenders HTML for the client

Thread Thread
 
Sloan, the sloth mascot
Comment deleted
 
jvanbruegge profile image
Jan van Brügge

Isn't programming evey view twice a whole lot more work?
With docker, setting up another container you can route to is rather easy.
Maybe I will write an article about that