#Every node rerenders when just one changes using zustand stores.

1 messages · Page 1 of 1 (latest)

nocturne carbon
#

Hi grass. Dont share Pro Code here on discord. Kindly delete it

#

_ _
If you have some problem related to pro code implementation, you can contact [email protected]

bold glacier
#

oh did not realize there was something pro my bad

nocturne carbon
#

Did you recreate that thing yourself(it was your implementation) or did you use the selection grouping pro example code to build your implementation?

bold glacier
#
  1. my codebase uses a custom implementation
  2. i rebuilt the selection grouping pro example to use zustand instead of vanilla react just to see what happens and i notice it is constantly rerendering. actually I think it would be super helpful if you could help me figure out a way to make that pro example use zustand and not re-render all nodes whenever a single node changes
nocturne carbon
#

If you have access to react flow pro, then you should contact [email protected] and share your problem.