superlinear-react-ui
Shared components for all Superlinear's projects
Install
npm install --save github:frankdilo/superlinear-react-ui
Local Development (in external project)
Update the package.json
of your project to link to the local version of superlinear-react-ui
, like so:
"superlinear-react-ui": "file:../superlinear-react-ui"
Run npm install
in your project. Run npm install
in your local version of superlinear-react-ui
to have live reload.
Local Development (with ./example project)
npm start # start the lib build process
cd example && npm start # start the example project
Make sure the lib and the example project are using the same React version
Refer to this doc page. This can give problems when using Hooks. Solution is to make the lib use the same React version of the example project with npm link
:
npm link example/node_modules/react
Usage
License
Private © frankdilo