@wuespace/parcel-resolver-react
v0.18.1
Published
Parcel Resolver Plugin that resolves React from the Project root
Downloads
2
Readme
Parcel Resolver React
npm: @wuespace/parcel-resolver-react
Parcel Resolver that overrides any imports of React.js to include React only once and in one version only. This prevents React from failing with the Invalid Hook Call Warning.
Note: This plugin is only active if you're using a workspace linked project.
Installation
If you're using
the @wuespace/telestion-client-template
the
plugin is already installed and integrated in Parcel.
If that's not the case, install the plugin as development dependency:
npm install --save-dev @wuespace/parcel-resolver-react
Then add it to your .parcelrc
configuration:
{
"resolvers": ["@wuespace/parcel-resolver-react", "..."]
}
That's it!
Contributing
If you want to contribute to this package, please take a look at the Telestion Client monorepo that manages this package, among other Telestion Client packages.
Contributors
Thank you to all contributors of this repository:
Made with contributors-img.
About
This is part of Telestion, a project by WüSpace e.V..