Re:Pose: A declarative motion system for HTML, SVG and React
by zeroproduct on Wednesday March 28, 2018 @10:14PM
(#16704031)
This is great! I have been looking for an easy drop in animation library for React. Excited to try it out
[ Parent
| on HN ]
Re:Pose: A declarative motion system for HTML, SVG and React
by iteriteratedone on Wednesday March 28, 2018 @10:32PM
(#16704091)
Is there something about react that makes this difficult?
Is trying to work outside the virtual dom a constraint to creating motion on jsx elements?
I dont like the idea of jsx , reminds me of php with logic and templates tied together... does jsx make it tough to create an animation lib?
Re:Pose: A declarative motion system for HTML, SVG and React
by eat_veggies on Friday March 30, 2018 @01:01AM
(#16713801)
It's not jsx, which is just sugar for createElement(). It's because components are supposed to be stateless, but animations are inherently stateful.