Skip to content

Add useInsertionEffect to the dispatcher #84

@advl

Description

@advl

Hello,

The dispatcher is missing useInsertionEffect introduced in React 18. It should be mapped to a noop function as useLayoutEffect.

It would be just a one-line addition under this https://github.com/FormidableLabs/react-ssr-prepass/blob/master/src/internals/dispatcher.js#L356 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions