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 2,144 public repositories matching this topic...

next.js
elado
elado commented May 4, 2021

What version of Next.js are you using?

10.2.0

What version of Node.js are you using?

14.15

What browser are you using?

Chrome

What operating system are you using?

macOS

How are you deploying your application?

Other

Describe the Bug

In environments that make files non-writable like Bazel, builds break with

Failed to compile.

./src/
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 
nextjs-subscription-payments

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 Apr 30, 2021
  • JavaScript
peteroid
peteroid commented Mar 22, 2021

Hi there, it would be great if we can customize the comments with the preview url. I think there are two ways:

  1. Allow template string in "github-comment"
    • So users can it as "I have deployed {{previewName}} at {{previewUrl}}".
  2. Create the githubComment after we have set the output of "preview-url"
    • Currently, the githubComment was created at the [very beginning](https://githu
Organization
vercel
Website
vercel.com