menu
Channels
Team
Posts
Chat
Members
Info
down-caret
Tim·16h·Pinned# General

Companies / Sites using Next.js

ZEIT - https://zeit.co Netflix - https://jobs.netflix.com/ Trulia - https://twitter.com/Timcorreia/status/950974800234668032 …

thumbsup
110
message-simple
482

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,…

thumbsup
0
message-simple
3

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…

thumbsup
0
message-simple
4

Environment variables

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…

thumbsup
0
message-simple
3

Best way to dynamically change page title?

Is this really the best way? https://github.com/zeit/next.js/tree/master/examples/layout-component

thumbsup
0
message-simple
2

Passing data from one component to another component

I have two components, one component is a button that makes an api call and the second component is supposed to receive that data. What is the recommended approach for doing this?

thumbsup
0
message-simple
1

TTL in fetch?

How can I add a TTL to the requests done with isomorphic-fetch? I want that after some seconds without a response, directly throws a 500 error.

thumbsup
0
message-simple
1

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…

thumbsup
0
message-simple
4

Next-Offline (issue)

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…

thumbsup
0
message-simple
24

Only one next page sending the right parameter after sending `null` request.

Hey guys, one of my page is sending null request on the first load right after it is sending parameter and load the content. How can i fix this? UPDATE: here is my actual page.

thumbsup
0
message-simple
4

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'); …

thumbsup
0
message-simple
3