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
Slices are convenient when they are helping you out, but they very frequently impede the developer from being able to accomplish a goal. This is a recurring theme as seen in:
This allows both actions and components the flexibility to have access to current state/actions even in nested async callbacks.
The current object is only created once and frozen and merely passed along as an additional argument, which should have no negative performance impact.
The text was updated successfully, but these errors were encountered:
Slices are convenient when they are helping you out, but they very frequently impede the developer from being able to accomplish a goal. This is a recurring theme as seen in:
I have experimented with hyperapp over at etalisoft/hyperapp-extended to get this to work.
It modifies the following signatures:
current
is an object with the following methods:getState()
- returns the global stategetActions()
returns the global actionsThis allows both actions and components the flexibility to have access to current state/actions even in nested async callbacks.
The
current
object is only created once and frozen and merely passed along as an additional argument, which should have no negative performance impact.The text was updated successfully, but these errors were encountered: