This is the development environment for the node module @asmundwien/more-hooks. The module is a collection of usefull react hooks. For a detailed package description, see the documentation on NPM.
This repo consists of two react projects:
The project in which the node module is developed, bundled and published to NPM.
Documentation and integration testing of more-hooks
. The project implements the more-hooks
package via symlinks.
- Within the
more-hooks
project, run$ yarn link
within the following paths:.
./node_modules/react
./node_modules/react-dom
- Within the
more-hooks-testing
project, run:yarn link @asmundwien/more-hooks
yarn link react
yarn link react-dom
- Now, every time
more-hooks
is bundled anew ($ yarn build
), the changes will immediately be reflected in themore-hooks-testing
environment.
For further reading on symlinks, see yarn link.