4 ms·
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 th
by quickthrower2 3y ago
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.
- qgin 3y 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...