I understand the benefits of NextJs over a react app that doesn't use server side rendering. The main one seems to be that only the code used for the page is downloaded to the client. If the app is built using mantine though is it still the case that only the code for the page is downloaded? I wonder if the app being wrapped in MantineProvider, which i think is a "client" react component, changes this? I'm guessing somehow only the code for the page is downloaded to the client and "hydrated" otherwise there would be no point in mantine supporting nextjs. Just wanted to check. I can't be the only one who has wondered this.
#Benefits of nextjs
4 messages · Page 1 of 1 (latest)
Thanks, I had a read and have now discovered the help section of the mantine website :). The article doesn't seem to answer my question though directly. I presume I'm right however and only the page code is downloaded to the client and not the entire mantine built app.
Also i think the article you referred me to is somewhat misleading because this part of the NextJS docs explains that client components are rendered entirely on the client for "subsequent navigations": https://nextjs.org/docs/app/building-your-application/rendering/client-components#subsequent-navigations