yarn build
yarn publish
See storybook
branch.
Make sure peer-installs
runs by doing yarn install
.
Navigate to /node_modules/react
and run yarn link
Now navigate into the host project and run yarn link react
Read a detailed description here: https://dev.to/yvonnickfrin/how-to-handle-peer-dependencies-when-developing-modules-18fa