natewong1313 / go-react-ssr

Build full-stack web apps with Go & React. End to end type-safety and lightning fast ⚡️
MIT License
107 stars 8 forks source link

Nextjs Integration #19

Open ejemba opened 4 months ago

ejemba commented 4 months ago

Is go-react-ssr is suitable to use with nextjs ?

K-Sato1995 commented 4 months ago

Don't think so. This library renders React stuff in Go runtime as u can see in the example below. Next already dose that in node runtime without using a library like this.

https://github.com/natewong1313/go-react-ssr/blob/master/examples/echo/main.go

ejemba commented 4 months ago

Thank you @K-Sato1995 I think yes. Stuff like routing is handled directly in node yes.