element-motion
element-motion copied to clipboard
Core roadmap
Overarching goals
- breaking changes only when there is no other choice, prefer minor and patch
- smallest bundle size
- simply powerful api surface
- weighted animation - must feel like it is solid not brittle
Internal api
- [ ] hooks api internal usage
- [x] re-evaluate internal animations api (conversation here: mui-org/material-ui#4117)
- [ ] flatten
Collectorprop api (instead ofdatahaveactionandpayloadas top level props)
External api
- [ ] hooks api for consumers
Behaviour
- [x] re-evaluate duration calculation
- [ ] if same position and same size don't do animation?
- [ ] don't animate if both origin and destination are off screen
Performance
- [ ] cut fat from core library bundle
- [ ] cut fat from animations bundle
- [ ] improve execution performance
- [ ] ability to disable motion with https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
- [ ] code splitting out of the box
Packages
- [x] split motions out to another package
@element-motion/motions - [x] split docs out to another package
@element-motion/docs