Skip to content

React-spring can't be remove for XYChart ? #1203

Answered by williaster
LoiKos asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @LoiKos thanks for raising this issue. Currently react-spring is listed as a peerDependency of @visx/xychart. I think this isn't necessarily ideal particularly if you don't use the animated components but I haven't figured out a great way to create two indexes for the package: one for non-animated components (no need to install react-spring) and one for animated components.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LoiKos
Comment options

Answer selected by LoiKos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants