Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(usePrevious): reworked the hook, now it is more memory-efficient.
Better to use two-variables exchange than `useEffect` with new function on each render.
- Loading branch information