Next

Next.js is an open source React front-end development web framework that enables functionality such as server-side rendering and generating static websites for React-based web applications.
Here are 24,745 public repositories matching this topic...
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
-
Updated
Nov 1, 2021 - TypeScript
macOS version: Not relevant
Kap version: I am not sure. The About Kap
option seems to make it crash! Within the last year though.
Steps to reproduce
- Make a recording.
- Export it.
- Close the recording window.
Current behaviour
It always asks if you are sure you'd like to discard it. I always want to discard it. Very annoying.
Expected behaviour
I
What do you want and why?
If a user has a react-final-form with a JS Set (or Map) in the initial values, the form resets on some activities, e.g. switching to another tab.
Possible implementation(s)
This can be fixed by using the initialValuesEqual
prop:
import deepEqual from "fast-deep-equal"
<FinalForm
initialValues={initialValues}
initialValues
-
Updated
Nov 1, 2021 - TypeScript
Description 🐜
In next-auth.4.0.0-beta.4 I was using the following code:
const token = await getToken({ req, secret: process.env.JWT_SECRET });
Since next-auth-beta.6 I'm now getting the following error:
TS2345: Argument of type '{ req: NextApiRequest; secret: string; }' is not assignable to parameter of type 'GetTokenParams<false>'. Property 'decode' is missing in ty
Description
Remove any google fonts dependency from api-platform.
Example
Remove the google font stylesheet in line 8 of api-platform\core\src\Bridge\Symfony\Bundle\Resources\views\SwaggerUi\index.html.twig depending on a configuration variable?
Context
I'm working on an intranet application for a big company where any call to the fonts.googleapi.com CDN takes 30 seconds
Summary
InlineImage
component should have cursor: pointer
style when CMS is enabled.
(Currently is only ever has the normal default
cursor.)
The pointer cursor indicates to the user that clicking it will trigger some action.
In this case that action is opening a Media Manager dialog.
Motivation
I did my first introduction/training of a TinaCMS application to a person, and
-
Updated
Oct 19, 2021
-
Updated
Sep 3, 2019 - TypeScript
Without all the marketing.
Right now the wishlist page shows "Your wishlist is empty" before showing your wishlist items, that should be a loading state instead.
-
Updated
Oct 28, 2021 - TypeScript
-
Updated
Oct 5, 2021 - JavaScript
Would be supercool to have "BlogPosting" as article JSON-LD type.
From the Google Docs (https://developers.google.com/search/docs/data-types/article#non-amp):
Article objects must be based on one of the following schema.org types: Article, NewsArticle, BlogPosting.
(https://schema.org/BlogPosting)
I tried to use "BlogJsonLd" as type for Blogposts, but the Google Rich Result Test (https:
-
Updated
Nov 1, 2021 - TypeScript
-
Updated
Oct 23, 2021 - JavaScript
Issue Summary
Building with serverless
results in an error:
Build error occurred
TypeError: Class extends value undefined is not a
-
Updated
Jul 18, 2019
-
Updated
Oct 23, 2021 - TypeScript
-
Updated
Oct 6, 2021 - TypeScript
-
Updated
Oct 28, 2021 - TypeScript
-
Updated
Oct 27, 2021 - TypeScript
-
Updated
Jul 3, 2021
-
Updated
Oct 6, 2021 - JavaScript
Hi,
It is not uncommon for people wanting to add a comment system to their blog. There are a few options:
- A common choice is disqus, but it's not open source, and it charges if you don't want to show ads.
- utterances is an open source implementation that basically leverages github issues as the storage. It's smart, but it requires commenters t
-
Updated
Oct 20, 2021 - TypeScript
Created by Vercel
Released October 25, 2016
Latest release 1 day ago
- Repository
- vercel/next.js
- Website
- nextjs.org
- Wikipedia
- Wikipedia
What version of Next.js are you using?
12.0.1
What version of Node.js are you using?
14.17.4
What browser are you using?
Chrome
What operating system are you using?
Windows
How are you deploying your application?
Vercel
Describe the Bug
I implemented PWA using
next-pwa
in my application, and went through all the necessary steps. ( creating