Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(usePrevious): reworked the hook, now it is more memory-efficient. #1295

Merged
merged 1 commit into from
Jun 19, 2020

Commits on Jun 15, 2020

  1. 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.
    xobotyi committed Jun 15, 2020
    Configuration menu
    Copy the full SHA
    8c6f467 View commit details
    Browse the repository at this point in the history