Skip to content

Releases: blakeembrey/react-location

Remove `useLayoutEffect`

Choose a tag to compare

@blakeembrey blakeembrey released this 22 Jun 22:09
d09485c

Fixed

v2.0.0...v2.0.1

Remove dead utility

Choose a tag to compare

@blakeembrey blakeembrey released this 20 Jun 21:26
b55b233

Changed

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

v1.5.0...v2.0.0

ES2015 Build

Choose a tag to compare

@blakeembrey blakeembrey released this 27 Mar 21:55

Added

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

Normalize Slashes

Choose a tag to compare

@blakeembrey blakeembrey released this 12 Nov 10:28

Fixed

  • Normalize repeated slashes in the URL for path matching

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

Choose a tag to compare

@blakeembrey blakeembrey released this 25 Apr 06:30

Fixed

  • Remove to from withLink wrapper forwarded props

Handle context changes

Choose a tag to compare

@blakeembrey blakeembrey released this 17 Apr 16:00

Fixed

  • Support context changes in useRouter

Memoize Location OnChange

Choose a tag to compare

@blakeembrey blakeembrey released this 17 Apr 06:32

Fixed

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

Use Router

Choose a tag to compare

@blakeembrey blakeembrey released this 17 Apr 06:29

Added

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

Expose `Link` as HOC

Choose a tag to compare

@blakeembrey blakeembrey released this 09 Apr 04:48

Fixed

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

Expose `withLink` HOC

Choose a tag to compare

@blakeembrey blakeembrey released this 09 Apr 04:45

Added

  • Expose withLink HOC