react-lazy-cache
react-lazy-cache copied to clipboard
A utility to lazily calculate and cache values in a react component based on props
Results
1
react-lazy-cache issues
Sort by
recently updated
recently updated
newest added
```javascript this.cache = lazyCache(this, { cachedMyProp: { params: ["myProp"], fn(myProp) { // prints undefined console.log("myProp: ", myProp); } } }) ``` When myProp is 0, null, or "", the value...