0.1.2 • Published 5 years ago

xstate-router-component v0.1.2

Weekly downloads
-
License
-
Repository
-
Last release
5 years ago

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>
0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago