1.0.5 • Published 7 years ago

react-router-match-as-promised v1.0.5

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

react-router-match-as-promised

React Router's match as promised, useful when working with async/await.

Example

import matchAsPromised from 'react-router-match-as-promised'
import routes from './routes'

const { renderProps, redirectLocation } = await match({ routes, location: '/foo' })
  routes,
  location: '/foo'
})

License

MIT

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago