This repository has been archived by the owner on Sep 24, 2021. It is now read-only.
Pass single props to components #8
Labels
client-side-reactivity
Reflection of updates to state on the view
enhancement
New feature or request
Currently to send data to a object the only supported method is through sending a whole already existing object to a component:
This works fine through csr, ssr and cssu (client side state updates).
It would be nice if rather than having to send a whole object that it could be constructed from state:
This should currently work with csr and ssr. It just takes a few additions to the set and get compiler logic to work. But there may be some nuances with reference types...?
There is then the opportunity to add more intuitive syntax for this:
The text was updated successfully, but these errors were encountered: