Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

boring-router-react

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boring-router-react - npm Package Versions

1345

0.5.1

Diff

Changelog

Source

[0.5.16-18] - 2023-2-11

Changes

  • Support returning a data object by beforeEnter() and beforeUpdate() hooks of a route service, and passing it to willEnter()/enter() and willUpdate()/update() hooks.
  • Support applying extension by willEnter()/enter() and willUpdate()/update() hooks.
vilic
published 0.5.0 •

Changelog

Source

[0.5.0] - 2021-9-12

Breaking changes

  • Upgraded to MobX 6.
vilic
published 0.4.7 •

vilic
published 0.4.0 •

Changelog

Source

[0.4.0] - 2020-7-7

Breaking changes

  • Treat /foo/bar/ as /foo/bar.
  • Route#$route() method now accepts a route schema similar to what for a child route except for $match option.
vilic
published 0.3.13 •

Changelog

Source

[0.3.13] - 2020-7-6

Changes

  • Added hooks $before/will/afterEnter, $before/will/afterUpdate, $before/will/afterLeave; added $before/will/afterEnterOrUpdate as shortcut for $before/will/afterEnter and $before/will/afterUpdate.
  • Added service $service.
  • Added parallel routes.
  • Added RouteBuilder.
  • Added $metadata support.

Breaking changes

  • Router.create() is removed in favor of new Router().$route().
  • Names related to fragment has been changed to segment.
  • The router will no longer match parent if it has no matching child.
  • By default, the router will no longer match a route if it has children but the path is ended at the route itself. For example, if the path is /account, and route account has $children, account will not be matched by default. An option $exact is added for this scenario, and applies only to route schema with $children.
  • RouteMatch#$action has been removed, see hooks for alternatives.
  • The second argument RouteMatch#$ref(), RouteMatch#$push(), RouteMatch#$replace() methods is now an option object.
  • Route match ref option preserveQuery is now removed, but the behavior has changed to preserve query defined with $query (and its parents).
  • The return value of route hooks (such as RouteMatch#$beforeEnter, RouteMatch#$afterLeave) is now a removal callback.
  • <Redirect> component has been removed.`
vilic
published 0.3.11 •

vilic
published 0.3.9 •

vilic
published 0.3.8 •

vilic
published 0.3.7 •

vilic
published 0.3.3 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc