node_modules icon indicating copy to clipboard operation
node_modules copied to clipboard

Adding Guids/unique-ids for components to ease change management

Open MSiddharthReddy opened this issue 7 years ago • 1 comments

  • 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.

MSiddharthReddy avatar Dec 18 '17 19:12 MSiddharthReddy

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

syarul avatar Jul 14 '19 10:07 syarul