Skip to content

avspltd/react-ch5

Repository files navigation

react-ch5

NPM JavaScript Style Guide

WARNING

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.

Install

npm install --save react-ch5

or

yarn add react-ch5

Usage

import * as React from 'react'

import { useMyHook } from '@avsp/hook'

const Example = () => {
  const example = useMyHook()
  return (
    <div>
      {example}
    </div>
  )
}

License

MIT © Chris Poole, AVSP Ltd


This hook is created using create-react-hook.