@terrestris/react-util
v10.0.1
Published
A set of utilities enhancing the development of react applications.
Downloads
2,200
Readme
react-util
A set of utilities enhancing the development of react applications.
Installation
npm i @terrestris/react-util
Usage
import { useObjectState } from '@terrestris/react-util';
// or
import { useObjectState } from '@terrestris/react-util/dist/hooks/useObjectState/useObjectState';
Development
npm run watch:buildto
can be used to inject an updated version of react-util
into another project, e.g. react-geo
.
The script will also watch for further changes.
npm run watch:buildto ../react-geo/node_modules/@terrestris/react-geo/