This is a pre 1.0.0 release. It is not really feature-complete, just a proof of concept with basic hooks support for CH5.
These hooks allow publish and subscribe of digital/boolean, analog/number and string values.
npm install --save react-ch5
or
yarn add react-ch5
import * as React from 'react'
import { useMyHook } from '@avsp/hook'
const Example = () => {
const example = useMyHook()
return (
<div>
{example}
</div>
)
}
MIT © Chris Poole, AVSP Ltd
This hook is created using create-react-hook.