react-router-breadcrumbs-hoc

tiny, flexible, HOC for rendering route breadcrumbs with react-router v4 & 5

MIT License

Downloads
55.1K
Stars
301
Committers
8
react-router-breadcrumbs-hoc - 4.1.0 Latest Release

Published by icd2k3 almost 3 years ago

  • Replaces react-router dependency with react-router-dom (see #124)
react-router-breadcrumbs-hoc - 4.0.1

Published by icd2k3 over 3 years ago

  • Fixes generation of type definitions
react-router-breadcrumbs-hoc - 4.0.0

Published by icd2k3 over 3 years ago

  • Removes support for react-router v4 (from this version on we'll be supporting only v5 and up)
    • If you are using react-router v4, and can't update yet, use version 3.4.0 of this module
  • Updates all dev dependencies and improves build process
react-router-breadcrumbs-hoc - 3.4.0

Published by icd2k3 over 3 years ago

  • Maintenance release that updates node, yarn, dev dependencies, and development hooks
react-router-breadcrumbs-hoc - 3.3.1

Published by icd2k3 almost 4 years ago

  • Fixes a types issue with pass-through properties (#113)
react-router-breadcrumbs-hoc - 3.3.0

Published by icd2k3 over 4 years ago

react-router-breadcrumbs-hoc - 3.2.10

Published by icd2k3 over 4 years ago

  • Fix: (minor) handle potential double slashes in URLs (ex: site.com/sandwiches//tuna) (fixes #105)
react-router-breadcrumbs-hoc - 3.2.9

Published by icd2k3 over 4 years ago

  • Follow-up to previous release (removes @types/react-router-dom as a dev dependency, and removes react-router-dom from rollup's globals object)
react-router-breadcrumbs-hoc - 3.2.8

Published by icd2k3 over 4 years ago

  • Removes react-router-dom as a peer dependency
react-router-breadcrumbs-hoc - 3.2.7

Published by icd2k3 over 4 years ago

  • Fixes an issue introduced in 3.2.6 where props were not being forwarded correctly when using react-router >=5.1
react-router-breadcrumbs-hoc - 3.2.6

Published by icd2k3 over 4 years ago

  • Implements useLocation instead of withRouter where available
  • Adds a deprecation warning for those still on react-router v4 (this is still supported, but probably won't be in the next major version). If you don't plan on upgrading react-router for a while, just continue to use v3.2.5 if you're annoyed by this warning.
react-router-breadcrumbs-hoc - 3.2.5

Published by icd2k3 over 4 years ago

  • Converted source code to typescript and updated devDependencies. Nothing should have changed, but rolling a "fix" release number in case of any unexpected consequences.
react-router-breadcrumbs-hoc - 3.2.4

Published by icd2k3 almost 5 years ago

react-router-breadcrumbs-hoc - 3.2.3

Published by icd2k3 about 5 years ago

react-router-breadcrumbs-hoc - 3.2.2

Published by icd2k3 about 5 years ago

react-router-breadcrumbs-hoc - 3.2.1

Published by icd2k3 over 5 years ago

  • Fix: allows for null to be passed as routes. For example, withBreadcrumbs(null, { ... }). This is for users of default, generated breadcrumbs who also want to pass an options object into the HOC
  • Chore: general dev dependency updates
react-router-breadcrumbs-hoc - 3.2.0

Published by icd2k3 over 5 years ago

  • Switches the main module from umd format to cjs. (there is still a umd version if needed at /dist/umd)
  • Maintains all dev dependencies and adds husky hooks for pre-commit & pre-push
react-router-breadcrumbs-hoc - 3.1.2

Published by icd2k3 over 5 years ago

react-router-breadcrumbs-hoc - 3.1.1

Published by icd2k3 over 5 years ago

  • Sets peer dependencies to support react-router 5
  • Maintains dev dependencies
react-router-breadcrumbs-hoc - 3.1.0

Published by icd2k3 over 5 years ago

Removes humanize-string as a dependency.

Zero dependencies!

humanize-string as used to generate default breadcrumbs, but it was adding a lot to the bundle size as well as compilation issues for some. Instead, these regexes seem to cover all the cases for default breadcrumbs we need. As a result, the bundle size of 3.0.0 has been dropped from ~32kb (gzip) to ~1.5kb (gzip).

Package Rankings
Top 2.02% on Npmjs.org
Related Projects