Skip to content

Cannot use memoCustomCompareProps #422

@benadamstyles

Description

@benadamstyles

Attempting to use React.memoCustomCompareProps throws the following compiler error:

Invalid_argument("react.component calls can only be on function definitions or component wrappers (forwardRef, memo).")

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp wantedppxissues related to the reason-react ppx

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions