After switching from React to Next.JS, I've encountered some challenges that I'm hoping to find solutions for:
In contrast to React, Next.JS doesn't allow me to change a specific part of a webpage and maintain a static element like a navbar across all pages without manually adding the Navbar component to each page.
The way CSS is handled using {styles.example} in Next.JS feels cumbersome. While many suggest using to include CSS within JS files, it becomes confusing when attempting to make it responsive. Is there a simpler way to import CSS into JS files and apply classes like classname='example' in example.module.css?