Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 589 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 589 Bytes

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/