Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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).