Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 437 Bytes

multiple-flush-effects.md

File metadata and controls

9 lines (5 loc) · 437 Bytes

The unstable_useFlushEffects hook cannot be used more than once.

Why This Error Occurred

The unstable_useFlushEffects hook is being used more than once while a page is being rendered.

Possible Ways to Fix It

The unstable_useFlushEffects hook should only be called inside the body of the pages/_app component, before returning any <Suspense> boundaries. Restructure your application to prevent extraneous calls.