Swipe back on mobile browser with getInitialProps flickers the previous page
On mobile browsers (tested with Chrome and Firefox), swiping back or forward on a dynamic page (one that gets data from getInitialProps) will sometimes "flash" the previous page while the content is loading. Here is a video that shows the problem. 1. Create a next.js app with the following pages: index.js data.js 2. R…
vercel/next.js
Eligibility
Check before you begin
For students with basic Git skills who can follow the repository contribution guide; confirm with maintainers before starting.
What you will practice
Related skills
The source does not list specific skills yet. Read the original page before deciding.
Source and verification
Where this information comes from
Keep exploring
Items in the same direction
"Should not already be working" in Firefox after a breakpoint/alert
Do you want to request a feature or report a bug? Bug What is the current behavior? I'm seeing "Error: Should not already be working" after upgrading to React 16.11 Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React? This is exclusively happening on…
TS is overly picky when declaring a class constructor type
TypeScript Version: 3.4.0-dev.20190202 Search Terms: class, extend, constructor, any[] Code Expected behavior: I should be able to replace ...args: any[] with ...args: unknown[], or any other signature. Actual behavior: Playground Link: https://www.typescriptlang.org/play/index.html#src=type%20ClassConstructor%20%3D%2…
'declare method' quick fix for adding a private method
From https://github.com/microsoft/vscode/issues/94118 TypeScript Version: 3.9.0-dev.20200330 Search terms - quick fix - declare method - private Repro For ts file: index.ts 1. Trigger quick fixes on _baz Feature request: https://github.com/microsoft/TypeScript/issues/36249 added a quick fix for adding private properti…
POST request succeeds for pages with next dev
Operating System: Platform: darwin Arch: x64 Version: Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 Binaries: Node: 16.14.0 npm: 8.12.0 Yarn: 1.22.17 pnpm: 7.5.2 Relevant packages: next: 12.2.3-canary.15 eslint-config-next: 12.2.2 react: 18.2.0 react-dom: 18.2.0 When…