Simple reproduction of React Hook error
git clone https://github.com/onlyanegg/test-proj
cd test-proj/test-lib
npm install
cd ../test-app
npm install
npm link ../test-lib
cd test-proj/test-lib
npm run build
cd test-proj/test-app
npm start
Simple reproduction of React Hook error
git clone https://github.com/onlyanegg/test-proj
cd test-proj/test-lib
npm install
cd ../test-app
npm install
npm link ../test-lib
cd test-proj/test-lib
npm run build
cd test-proj/test-app
npm start