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
This comes up fairly often. There are situations with forms where data fetched from the server needs to be popped on to state. It'd be helpful to have a flag on a getter's options to say set_on_state. That would allow whatever we get back from the data function to just be placed on to state (and updated on refetch) automatically.
The text was updated successfully, but these errors were encountered:
Consider the option being set_on_state_as where the value is the name of the state variable (e.g, set_on_state_as: 'books' copies the value to state.books).
This comes up fairly often. There are situations with forms where data fetched from the server needs to be popped on to state. It'd be helpful to have a flag on a getter's options to say
set_on_state
. That would allow whatever we get back from the data function to just be placed on to state (and updated on refetch) automatically.The text was updated successfully, but these errors were encountered: