Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

stereobooster/nextjs-useid-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UseId issue

Good explanation here

Essentially, the problem boils down to the fact that in strict mode, React invokes some hooks twice (https://reactjs.org/docs/strict-mode.html#detecting-unexpected-side-effects). This is because it tries to detect invoking side-effects during the render phase as it leads to problems when using concurrent mode.

useId implementations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published