Skip to content

Releases: blakeembrey/react-location

Remove `useLayoutEffect`

22 Jun 22:09
d09485c

Choose a tag to compare

Remove dead utility

20 Jun 21:26
b55b233

Choose a tag to compare

Changed

  • Use ESM, ts-scripts, code deletion 28c24c7

v1.5.0...v2.0.0

ES2015 Build

27 Mar 21:55

Choose a tag to compare

Added

  • Expose ES2015 build
  • Expose useClick helper used by <Link /> component

Normalize Slashes

12 Nov 10:28

Choose a tag to compare

Fixed

  • Normalize repeated slashes in the URL for path matching

Remove `to` from `<a />` props

25 Apr 06:30

Choose a tag to compare

Fixed

  • Remove to from withLink wrapper forwarded props

Handle context changes

17 Apr 16:00

Choose a tag to compare

Fixed

  • Support context changes in useRouter

Memoize Location OnChange

17 Apr 06:32

Choose a tag to compare

Fixed

  • Memoize calls to location.onChange when the location hasn't changed

Use Router

17 Apr 06:29

Choose a tag to compare

Added

  • Expose router as a React.js hook
  • Use JSX.Element for children return type

Expose `Link` as HOC

09 Apr 04:48

Choose a tag to compare

Fixed

  • Derp! Overlooked that the exported Link should just be using withLink directly

Expose `withLink` HOC

09 Apr 04:45

Choose a tag to compare

Added

  • Expose withLink HOC