@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
88
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/reactand runningyarn link - [x] inside @intermedia-dev/components library run
yarn link react - [x] now we can link our library from
@intermedia-dev/componentsroot runyarn link - [x] inside App where u use lib
yarn link @intermedia-dev/componentss
