filestack-react
filestack-react copied to clipboard
PickerDropPane renders twice in NextJS 14+ unless react strict mode is disabled
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.