You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Components that don't implement any callbacks don't have to be instantiated.
I think there is a type called LambdaComponent that we just need to check for somewhere in lib/mayu/vdom/vtree.rb or maybe we could do it in vnode.rb
Could maybe also not instantiate descriptors for text elements and comments...
Or maybe implement lighter descriptors for them since they don't have props, keys nor children...
Components that don't implement any callbacks don't have to be instantiated.
I think there is a type called LambdaComponent that we just need to check for somewhere in
lib/mayu/vdom/vtree.rb
or maybe we could do it invnode.rb
Could maybe also not instantiate descriptors for text elements and comments...
Or maybe implement lighter descriptors for them since they don't have props, keys nor children...
It would be good to do #56 first
The text was updated successfully, but these errors were encountered: