0.1.2 • Published 5 years ago
xstate-router-component v0.1.2
Xstate router component
A simple Router component that renders the given children based on the status you pass-in.
install
npm i xstate-router-component
Example
<XstateRouter state="loading" fallback={<NotFound />}>
<Loading match="loading" />
<List match="success" />
<Sidebar match="success" />
</XsateRouter>