You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 14, 2020. It is now read-only.
If we have persistent data and components that efectively count if they should update, cached functions would be very helpful.
The main scenario is something like this:
the component get new props
it count new props for some childrens with "functional" functions (functions that only count result, not modify anything)
put new props for children
It will be nice, if always from same arguments are the same results counted. It means, that children components will benefit from the same persistent data and can optimize shouldUpdate method.
It also "speed up" the counting.
If we have persistent data and components that efectively count if they should update, cached functions would be very helpful.
The main scenario is something like this:
It will be nice, if always from same arguments are the same results counted. It means, that children components will benefit from the same persistent data and can optimize shouldUpdate method.
It also "speed up" the counting.