Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carloslfu/xstate-react-router
XState connector to React Router.
https://github.com/carloslfu/xstate-react-router
react react-router state-machine statecharts xstate
Last synced: 6 days ago
JSON representation
XState connector to React Router.
- Host: GitHub
- URL: https://github.com/carloslfu/xstate-react-router
- Owner: carloslfu
- Created: 2018-11-11T04:53:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-25T17:29:49.000Z (about 3 years ago)
- Last Synced: 2024-12-06T00:08:34.733Z (17 days ago)
- Topics: react, react-router, state-machine, statecharts, xstate
- Language: TypeScript
- Size: 60.5 KB
- Stars: 22
- Watchers: 1
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xstate-react-router
[XState](https://github.com/davidkpiano/xstate) connector to [React Router](https://github.com/ReactTraining/react-router).
Live examples:
- [Simple routing](https://codesandbox.io/s/ykmykxnm3z).
- A wizard (work in progress...), more complex use case.# Roadmap
- [ ] Use React Hooks [#2](https://github.com/carloslfu/xstate-react-router/issues/2).
- [ ] Create a wizard example.
- [ ] Add tests [#3](https://github.com/carloslfu/xstate-react-router/issues/3).
- [ ] Lazy loading support (xstate splitting).