A set of utilities enhancing the development of react applications.
npm i @terrestris/react-utilimport { useObjectState } from '@terrestris/react-util';
// or
import { useObjectState } from '@terrestris/react-util/dist/hooks/useObjectState/useObjectState';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/