Skip to content
Compare
Choose a tag to compare
@willybrauner willybrauner released this 12 Aug 22:15
· 37 commits to main since this release
27f6860

Minor Changes

  • 1cd1608: change local browserHistory listener params to object

    Goal is to feat with the remix history lib api in order to switch to it easily, if needed.

    before:

    history.listen((location, action) => {})

    after:

    history.listen(({ location, action }) => {})
  • 74f5122: Cleanup type generics

Patch Changes

  • b2efc1d: expose options

    options are now a public value, in order to get them from the instance.

    const router = new LowRouter(routes, options)
    console.log(router.options) // {...}