@intermedia-dev/components
v1.3.7
Published
To proper test components locally some hacks are needed because of how React works. Cuz React fails to start whenever it sees 2 instances of itself, so library uses React from project that imported it (peerDependency) to use library locally you need:
Downloads
66
Readme
Development process
To proper test components locally some hacks are needed because of how React works. Cuz React fails to start whenever it sees 2 instances of itself, so library uses React from project that imported it (peerDependency) to use library locally you need:
- [x] inside your APP you need to link React by going
cd node_modules/react
and runningyarn link
- [x] inside @intermedia-dev/components library run
yarn link react
- [x] now we can link our library from
@intermedia-dev/components
root runyarn link
- [x] inside App where u use lib
yarn link @intermedia-dev/components
s