We currently get reload() exposed for refreshing the fetched data which is pretty awesome.
In some cases it would be nice to be able to specify a subset of the hook data to refresh. This could look something like this, with an optional parameter hookNames for example.
reload(['fetch']); would only reload data for the fetch hook and leave the others as-is.
We currently get
reload()exposed for refreshing the fetched data which is pretty awesome.In some cases it would be nice to be able to specify a subset of the hook data to refresh. This could look something like this, with an optional parameter
hookNamesfor example.reload(['fetch']);would only reload data for the fetch hook and leave the others as-is.