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
I find that now dataparcels can handle saving but not loading, that it seems strangely asymetrical. It wouldn't be hard to write a function that loads initial value from a promise:
// loadData returns a promiseuseParcelState({value: asyncValue(loadData())});
Can also pass down valueStatus (like how asyncSubmit passes down submitStatus). Can even contain a updateValue() function to update as though updateValue is true
The text was updated successfully, but these errors were encountered:
I find that now dataparcels can handle saving but not loading, that it seems strangely asymetrical. It wouldn't be hard to write a function that loads initial value from a promise:
Can also pass down
valueStatus
(like howasyncSubmit
passes downsubmitStatus
). Can even contain aupdateValue()
function to update as thoughupdateValue
is trueThe text was updated successfully, but these errors were encountered: