Skip to content
#

Vercel

vercel logo

Vercel is the optimal workflow for frontend teams.

All-in-one: Static and Jamstack deployment, Serverless Functions, and Global CDN.

Here are 3,719 public repositories matching this topic...

next.js
leerob
leerob commented Jul 9, 2021

Describe the feature you'd like to request

These are common issues developers run into with Next.js. Some are mentioned in the docs, but ideally you don't have to go check the docs.

Describe the solution you'd like

Instead, ESLint can provide compile-time feedback and suggestions.

  • Trying to call an API route from inside getStaticProps / getServerSideProps leading to [next build
swr
Daiz
Daiz commented Nov 27, 2019

The documentation for mutate talks about local mutation for faster feedback, but the documented way to use it only mutates after a promise has resolved - in other words, not immediately.

As a result, I've found myself writing code in this kind of pattern:

mutate(path, { ...data, patch }, false); // mutate immediately, don't revalidate
await patchData(patch); // await the 

A starter project for next js with authentication - Contains React 17 + Typescript + Tailwind CSS 2 + React Query 3 + GitHub Auth + LinkedIn Auth + Password-less Auth + Fauna DB + ESLint + Prettier + Husky

  • Updated Sep 1, 2021
  • JavaScript
Organization
vercel
Website
vercel.com