0.18.1 • Published 1 year ago

@wuespace/parcel-resolver-react v0.18.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Parcel Resolver React

npm: @wuespace/parcel-resolver-react

Maintainability Test Coverage GitHub Workflow Status GitHub Workflow Status GitHub Node current NPM current Twitter Follow

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:

Contributors

Made with contributors-img.

About

This is part of Telestion, a project by WüSpace e.V..