v5.1.0
New feature
- The new
useProps
function lets you tell Recollect that your component will be using a prop in the future. More: https://github.com/davidgilbertson/react-recollect#usepropsproparray
Improvements
- This release tightens up the logic for selecting which components to re-render for any given change. This results in fewer unnecessary renders.
Bug fixes
- Previously, prop type checks were being counted as 'reads' for a component, potentially creating far too many subscriptions for components. This was only an issue during development, but it meant dev/prod could have different behaviours.