Skip to content

What can I do with a node id returned from getNodeId? #1875

Description

@JordanSalinas

What's the purpose of getNodeId? Currently I'm using it in React as a key when iterating lists and returning components. What I'd like to do is use it to modify data in the store. i.e. removeNode(nodeId). Is there a way to use it in this way? Honestly even if I could just do getNodeById(nodeId) that'd be useful as well because then I could just use the built in methods like destroy(node). I suppose I could just implement this myself, but I think having a getNodeById method would be a lot easier and cleaner.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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