You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to a client component, and see the picker rendered twice. In next.config.js, setting reactStrictMode: false fixes it.
The text was updated successfully, but these errors were encountered:
oneillsp96
changed the title
PickerDropPane renders twice in NextJS 14+ when react strict mode is enabled
PickerDropPane renders twice in NextJS 14+ unless react strict mode is disabled
May 16, 2024
repro:
simply add:
<PickerDropPane apikey={process.env['NEXT_PUBLIC_FILESTACK_API_KEY'] />
to a client component, and see the picker rendered twice. In next.config.js, setting reactStrictMode: false fixes it.
The text was updated successfully, but these errors were encountered: