palerdot / react-d3-speedometer

React Speedometer component using d3.js ⚛️
https://palerdot.in/react-d3-speedometer/
MIT License
230 stars 57 forks source link

v2.0 - React v18 support #144

Open palerdot opened 2 years ago

palerdot commented 2 years ago

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 - https://github.com/palerdot/react-d3-speedometer/pull/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

hect1c commented 2 years ago

Hey @palerdot Thanks for the package first of all

I just upgraded to v18 react and can confirm I was having issues with react-d3-speedometer. Luckily I found this issue where you are already on top of it and using the @next has solved the issue I had. My error was

TypeError: b.pointer.transition is not a function

Great job, thanks!

palerdot commented 2 years ago

Hey @hect1c

Good to know. In case you face any troubles with v2.0/ v18 React, please raise an issue.

palerdot commented 2 years ago

PS: I'm locking this issue to avoid people posting their issues as comment. Please open a new issue if you are facing any problem. This issue is for information/announcement purposes only.