5.0.0-rc.6 • Published 2 years ago

react-router-dom-asynchronously v5.0.0-rc.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-router-dom-asynchronously

Addon for react-router-dom, which adds asynchrony to your routing Main goal of this package to have an ability to prefetch any data before transition to the next state. Loaded data will be passed as props

Current state will be shown until next route will be loaded. This means, you don't need to show fallbacks while loading initial route component state. Nested routing supported (AsyncSwitch component must be rendered on first component render). Next transition will not be applied until all nested routes will be loaded.

Usage

See /example directory