filestack-react icon indicating copy to clipboard operation
filestack-react copied to clipboard

PickerDropPane renders twice in NextJS 14+ unless react strict mode is disabled

Open oneillsp96 opened this issue 9 months ago • 0 comments

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. image

oneillsp96 avatar May 16 '24 15:05 oneillsp96