Comment on Ask HN: Any web frontend library that fallbacks to SSR if JavaScript is missing?parentComments−quickthrower23yHow do you do this in NextJS. For example if you use useEffect that will not run on the server. You would need separate client and server code to do the same thing, in which case it is not much "handier" than vanilla PHP with JQuery.−qgin3yNextJS has some ways around it that don't end up duplicating any logic:https://nextjs.org/docs/pages/building-your-application/data...
Comments
How do you do this in NextJS. For example if you use useEffect that will not run on the server. You would need separate client and server code to do the same thing, in which case it is not much "handier" than vanilla PHP with JQuery.
NextJS has some ways around it that don't end up duplicating any logic:
https://nextjs.org/docs/pages/building-your-application/data...