Skip to content

Restoring state #221

Answered by chrisjpatty
dsmurfin asked this question in Q&A
Mar 30, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

This is definitely possible, I think I need to update the docs to make this a little more clear. There's nodes and comments props you can use to hydrate the nodeEditor with nodes and comments. https://flume.dev/docs/NodeEditor#nodes--object. The deficiency right now is these props only work when the nodeEditor is first initialized. In a future version you should be able to set this prop at any point.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dsmurfin
Comment options

Answer selected by chrisjpatty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants