Skip to content

React Flow types generated repeatedly #27

@iCalculated

Description

@iCalculated

Seeing this error in the console:

runtime-base.ts:472 [React Flow]: It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them. Help: https://reactflow.dev/error#002

I added a useMemo hook for creating the edge type that drastically cut down the quantity but it still appears several times.

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