Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Static with some react sounds like a nightmare. One of the primary reasons why many moved to JS frameworks was to have a better separation of concerns and a single place where GUI logic resides.

May I suggest you have a look at Next.js. It lets you solve this in a very ergonomic way. Maybe even for your existing project.



Yeah it is a nightmare; it is not my choice. It is the same ‘everyone uses it so we need as well’ type of thing thrown in by partners.

Thanks for Next.js: I did not know it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: