-
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 bundlingd3
related modules. If you are already usingd3
(prefarably viad3
microbundles liked3-selection
etc), you can take advantage of the slim build. - Vite: Switching to
vite
for dev/prod building - Vitest: Switching to
vitest
for 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
,umd
builds. The package will now both exportes
compatible build andumd
compatible build by default. Library users are encouraged to make use ofes
build for better tree shaking in their app. Please note,slim
build will not be available as aumd
build. Also, the package has switched tod3
micromodules (eg:d3-ease
,d3-transition
etc) for better tree shaking.
hect1c and baartchhect1chect1c
Metadata
Metadata
Assignees
Labels
No labels