nextjs
Here are 5,156 public repositories matching this topic...
-
Updated
Sep 3, 2019 - TypeScript
If the file doesn't exist then no sha is found. In this case it should throw an error.
What is the problem?
const params = useParams() returns a new object on every single render, causing bugs in apps that expect it to only change if the contents have changed.
Also have the same problem for useParam()
How to fix
Here's the code for useParams and [useParam](https://github.com/
-
Updated
Sep 9, 2020
-
Updated
Sep 27, 2020 - TypeScript
-
Updated
Aug 17, 2020 - TypeScript
-
Updated
Sep 7, 2020 - JavaScript
-
Updated
Jul 18, 2019
-
Updated
Sep 25, 2020 - JavaScript
Some folks have noted it would be beneficial to have this repository translated to other languages. One contributor has already volunteered to translate the repository into Russian (woohoo!).
If anyone has the time and drive to help out with other languages, please reply below with the proposed language and I'll give you the "go-ahead"... just to make sure two people don't create translations i
-
Updated
Sep 28, 2020 - TypeScript
-
Updated
Sep 8, 2020 - TypeScript
-
Updated
Sep 28, 2020 - TypeScript
-
Updated
Sep 25, 2020 - TypeScript
-
Updated
Sep 6, 2020 - JavaScript
Describe the bug
When running npx serverless --debug if the next build process fails with an error it is not displayed in the output and the deployment hangs forever.
To Reproduce
Steps to reproduce the behavior:
- Create a reproducible error in
pages/index.js(in my case animportstatement was incorrect) - Run
npx serverless --debug - Output displays "appName Deplo
-
Updated
Jul 17, 2020 - JavaScript
-
Updated
Sep 28, 2020 - JavaScript
-
Updated
Sep 28, 2020 - JavaScript
There is an import dependencie cycle between:
src/Interfaces/index.ts:
export * from '@Redux/IStore';
and
src/Redux/IStore.d.ts:
import { IHomePage } from '@Interfaces';
Eslint rule that detect the issue:
https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-cycle.md
Improve this page
Add a description, image, and links to the nextjs topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the nextjs topic, visit your repo's landing page and select "manage topics."
Bug report
I'm proxying my dev app from localhost to
https://to avoid mixed request.And when I hover on Next/Link nextjs tried to fetch _devPagesManifest.json but got rejected by SSL and then has error
pages is undefined;Could you add
credentials: 'same-origin'to fetch options when loading_devPagesManifest.json?