Could we export {Spring, Transition} from 'react-spring' instead of 'react-spring/renderprops'? #559
Labels
kind: request
New feature or request that should be actioned
Milestone
May I know what is the reason to scope
{Spring, Transition}
underreact-spring/renderprops
instead ofreact-spring
?There are still large usage of class components, if scope under
react-spring/renderprops
we could not continue usingmodule
field because Test fails in Jest, end up we have to usereact-spring/renderprops.cjs
, not only more ugly code, but also not able to tree shaking.Can I suggest to export both
useSpring
andSpring
underreact-spring
?The text was updated successfully, but these errors were encountered: