PackageTrack

npm · #3708

use-latest

1.3.033M downloads/moAndarist/use-latest

A React helper hook for storing latest value in ref object (updated in useEffect's callback).

Release timeline

5 releases since 2019
20192020202120222023202420252026

Releases

  1. 1.3.013 Dec 2024
    Release notes

    This project publishes no release notes. Between v1.2.1 and v1.3.0 there were 5 commits, 4 of them substantive:

    • Add LICENSE (#5)
    • Add SECURITY.md
    • Add React 19 to the required peer dependency range (#10)
    • add package.json#exports
  2. 1.2.124 Apr 2022
    Release notes

    This project publishes no release notes. Between v1.2.0 and v1.2.1 there were 4 commits, 3 of them substantive:

    • Upgrade use-isomorphic-layout-effect (#3)
    • Add React 18 to the allowed peer dependency range (#4)
    • Update a bunch of devDeps
  3. 1.2.026 Oct 2020
    Release notes

    This project publishes no release notes. Between v1.1.0 and v1.2.0 there were 2 commits, 1 of them substantive:

    • Add React 17 to the allowed peer dependency range (#1)
  4. 1.1.030 Jun 2020
    Release notes

    This project publishes no release notes. Between v1.0.0 and v1.1.0 there were 6 commits, 5 of them substantive:

    • Update deps
    • Replace hand-configured Rollup with preconstruct
    • Add @types/react as optional peer dep
    • Update ref using use-isomorphic-layout-effect
    • Tweak tsconfig
  5. 1.0.025 Mar 2019

    Nothing published for this version