4 ms·
NextJS does this.
by satvikpendem 4y ago
NextJS does this.
- quickthrower2 4y agoHow 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.
- qgin 4y agoNextJS has some ways around it that don't end up duplicating any logic: https://nextjs.org/docs/pages/building-your-application/data-fetching/get-server-side-props https://nextjs.org/docs/pages/building-your-application/data...