Skip to content

Add a debug check to <Provider> to throw a more detailed error when used in Next #2082

@markerikson

Description

@markerikson

I wonder if we could somehow do a debug check inside of <Provider> , check for the existence of useIsomorphicLayoutEffect, and throw a more informative error if it doesn't exist?

I know we added the "react-server" condition in v9 beta - not sure how these play together

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions