node_modules
node_modules copied to clipboard
Adding Guids/unique-ids for components to ease change management
-
Included a field called GUID (a unique id) to go along with the component properties.
-
This will help in managing the state changes in rendering passes. Without this we would need to diff the tree.
-
Insertions and deletions to the render tree will also be super easy.
Adding these guid
will eventually add certain drag in the rendering pipeline. Also an efficient diffing will always beat spawning/search ids within a vtree/dom to do insertion/update/remove