react-lazy-cache
JSON →react-lazy-cache is a utility for lazily calculating and caching values in React components based on props. It helps avoid expensive recalculations by only recomputing when dependent props or other cached values change. The current stable version is 3.0.1, with a low release cadence (last update several years ago). It supports both a getter-based API for modern browsers and a fallback noGetters module for IE8 compatibility. Unlike alternatives like useMemo or reselect, it provides an imperative, class-based caching mechanism tailored for React class components.
Resources
packagereact-lazy-cache ↗