Next.js 8 and RNW Transpilation Issues
TL;DR: I need to transpile ESM source with Next.js, but I am unable to get it working with Next.js 8 I am attempting to transpile react-native-web source inside of my Next.js project. I succeeded at doing this in the past (see older Next.js RNW example). With Next.js 8,…
Styling :visited links?
I'm having troubles styling visited links, :hover works perfectly. Is it a known limitation? I could find :hover examples at the repo but none of them uses :visited in the a tag, so I'm wondering if there is something that I'm missing or if it's the expected behaviour. Thanks a…
Hey y'all, How would I manage different builds for different environments with Next.js? Right now, I have a next.config.js file with dev env variables but I have prod env variables that I want to set and I don't want these variables in any of the files. Similar to doing a…
How to show UI elements before data loads in NextJS
I have a simple use case where there is a simple card that has a title and a picture, linking to another page where it will have that title and that picture and some other data loaded from a server. What i need to achieve is, when clicking the card it will load that title and…
My service worker and manifest files are created properly. I'm using the plugin (Next-offline). Error statement: After all the API's getting precached in the service worker, whenever I'm pressing the F5 it's showing me an error page and the page is not getting rendered. Also, I…
how to add withCss in existing next.config file?
I feel bit dumb asking this but I haven't been able to use withCss for months. I already have next.config.js with existing code. How do i add withCss into it? This is my existing next.config.js const withCSS = require('@zeit/next-css'); …