-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
v2.0 with React v18 support is in RC and available as next tag. You can install it with
npm install react-d3-speedometer@next
This PR has support for v18 React - #143. The changes will be published as a major version of the package v2.0. Along with this upgrade, some notable changes to the package are
- Slim Build: Starting from
v2.0, a slim build of the package will be available without bundlingd3related modules. If you are already usingd3(prefarably viad3microbundles liked3-selectionetc), you can take advantage of the slim build. - Vite: Switching to
vitefor dev/prod building - Vitest: Switching to
vitestfor testing - Cypress/RTL: For testing, this package will be moving away from enzyme. For more context, please check https://dev.to/wojtekmaj/enzyme-is-dead-now-what-ekl
- Exporting
es,umdbuilds. The package will now both exportescompatible build andumdcompatible build by default. Library users are encouraged to make use ofesbuild for better tree shaking in their app. Please note,slimbuild will not be available as aumdbuild. Also, the package has switched tod3micromodules (eg:d3-ease,d3-transitionetc) for better tree shaking.
hect1c and baartchhect1chect1c
Metadata
Metadata
Assignees
Labels
No labels