resourcerer 1.0.11 → 1.0.12

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.
@@ -115,8 +115,8 @@ export const useResources = (getResources, props) => {
115
115
  return (!previousCacheKey || previousCacheKey !== getCacheKey(config) ||
116
116
  !hasAllDependencies(prevPropsRef.current, [, config]) || config.refetch ||
117
117
  // make sure if we were lazy and are no longer lazy (from the same component) that we
118
- // get included in the list to get updated
119
- (prevConfig?.lazy && !config.lazy));
118
+ // get included in the list to get updated (and vice versa)
119
+ (prevConfig?.lazy !== config.lazy));
120
120
  });
121
121
 
122
122
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resourcerer",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "repository": "github.com/noahgrant/resourcerer",
5
5
  "description": "Declarative data-fetching and caching framework for React",
6
6
  "keywords": [