komailf67

Results 3 comments of komailf67

> Why is clicking on a link causing a full page load? > > My routes.js > > ```js > const routes = require('next-routes'); > > module.exports = routes() >...

``` "next": "latest", "next-pwa": "5.5.4", ``` in next.config.js ``` const withPWA = require('next-pwa'); const withPlugins = require('next-compose-plugins'); module.exports = withPWA({ reactStrictMode: true, pwa: { dest: 'public', runtimeCaching, disable: process.env.NODE_ENV ===...

``` const [isClientSide, setIsClientSide] = useState(false); useEffect(() => { // this useEffect prevents showing Hydration Error if (!isClientSide) { setIsClientSide(true); } }, []); . . . return ( {typeof document...