resourcerer 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -204,9 +204,7 @@ export const useResources = (getResources, props) => {
204
204
  // https://stackoverflow.com/questions/48563650/
205
205
  // does-react-keep-the-order-for-state-updates/48610973#48610973
206
206
  ReactDOM.unstable_batchedUpdates(() => {
207
- if (resources.filter(withoutPrefetch).length) {
208
- setModels(modelAggregator(resources.filter(withoutPrefetch)));
209
- }
207
+ setModels(modelAggregator([[name, config]]));
210
208
 
211
209
  loaderDispatch({
212
210
  type: LoadingStates.LOADED,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resourcerer",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "repository": "github.com/noahgrant/resourcerer",
5
5
  "description": "Declarative data-fetching and caching framework for React",
6
6
  "keywords": [