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
In continuing with the meiosis pattern, we need to refactor the state management to cell.state to allow for future function additions without changing the usage signature.
Old
state=stream()app=m(App,{state: state})// access value in component withvnode.attrs.state().[property]()
Because
In continuing with the meiosis pattern, we need to refactor the
state
management tocell.state
to allow for future function additions without changing the usage signature.Old
New
Done When
cells
- stream wrapper containing:state
- state object passed to componentgetState
- get current state (for asyncronous components)getStream
- gets current state stream (forObservables
)update
- update state with patchThe text was updated successfully, but these errors were encountered: