简体   繁体   中英

CSS animation while using a virtual dom and maintaining state

Using vanilla JS, Redux to manage state, and a virtual dom, how could you animate an item in a grid while maintaining state and not having the virtual dom rip out the change? Thanks!

您可以创建一个动作分配器,该动作分配器每N毫秒生成一次新的动画属性并将其分配到redux存储。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM