Skip to content

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

Open
@oneillsp96

Description

@oneillsp96

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions