retejs / rete

JavaScript framework for visual programming
https://retejs.org
MIT License
10.17k stars 653 forks source link

What's the best way to update node.data through Redux #470

Closed cyango closed 1 year ago

cyango commented 4 years ago

Hi @Ni55aN can you or someone else tell me how to update node.data with a redux state? What I'm trying to do is to have like an Inspector component (react) with values dispatched from node.data, and change them on Inspector and update the change automatically on node.data.

I tried dispatch inside worker() but it's not good because the editor triggers every worker of every node, so it's not the desired effect...

Do you have any experiene on this?

best regards.

rete-js[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.