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
Can we make children available directly on the component instead of having to access them through the config or manually add "children" to Component.STATE = {}.
This would be treating children in a similar way to elementClasses.
It would be great if we could also apply the metal-state-validator for array when it is a JSX component.
Do you see any negatives to this?
The text was updated successfully, but these errors were encountered:
It'd be fine to make children be a state property automatically for JSXComponent. I think we should avoid using metal-state-validator there though, since the idea is to have it be an optional library that people can use if they want a behavior more similar to react, but not to have it as a Metal.js default. Would that be ok?
Can we make children available directly on the component instead of having to access them through the config or manually add "children" to Component.STATE = {}.
This would be treating children in a similar way to elementClasses.
It would be great if we could also apply the metal-state-validator for array when it is a JSX component.
Do you see any negatives to this?
The text was updated successfully, but these errors were encountered: