@subway-js/subway-react
v0.1.2
Published
Tools for developing your SubwayJS app with React
Downloads
2
Readme
subway-react
Tools for developing your SubwayJS app with React
Install
npm install --save @subway-js/subway-react
Usage
import React, { Component } from 'react'
import {
Subway,
useConsumeComponent,
useObserveAggregateState,
useReactToEvent
} from 'subway-react'
const Example = () => {
// ...
}
Check subway-react-ecommerce for real usage examples.
License
MIT © subway-js
This hook is created using create-react-hook.