Showing 1-1 of 1 item.
Admin
22/03/2021 21:50
Combining client side and server side rendering on same page using next.js
We can easily create Client rendered pages (CSR) and Static generated pages (SG) using Next.js. But, often times, you'll want your page to use a combination of those different rendering methods. Like, you want your static page to be generated with some data from api, then once the users browser has hydrated the static page, you want CSR to kick in. There is one way we can use this, by using the excellent SWR plugin from Vercel (`creators of Next.js). Let's have a quick look about it in this...
Happy New Year nextjs swr sg CSR