Next.js Discord

Discord Forum

React strict mode broken on NexdtJs 13.5.4 during HMR

Unanswered
Yellow-horned horntail posted this in #help-forum
Open in Discord
Yellow-horned horntailOP
It seems that for some reason in App router during HMR the useEffect with empty it not run again,

Here is [example with](https://github.com/technophile-04/se-2/tree/main-play-autoconnect) Page router main branch see how it log "I am second useEffect" after doing yarn deploy --reset :

Checkout first Video


Here is [example with](https://github.com/technophile-04/se-2/tree/app-play-autoconnect) App router here we can it does not log "I am second useEffect" after yarn deploy --reset :

Checkout second video

1 Reply

Yellow-horned horntailOP