/react-ch5

React Library for Crestron CH5

Primary LanguageTypeScriptMIT LicenseMIT

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.