uniapp开发app框架在提升开发效率中的独特优势与应用探索
665
2022-10-26
React应用程序的超级简便实现魔法移动过渡
react-overdrive
Super easy magic-move transitions for React apps
This is NOT production ready (but will be, stay tuned), feel free to play
Demo
The demo can be seen here: https://overdrive-demo.now.sh
Usage
Wrap any element (not just images) in a
On page1.js:
import Overdrive from './lib/overdrive'const pageA = (props) => (
On page2.js:
import Overdrive from './lib/overdrive'const pageB = (props) => (
Now route between the pages.
Browser Support
Tested on:
ChromeFirefoxSafariMobile Safari (iOS)IE (should work from IE9 and above, not tested yet)
Todo
Publish npm module Add proper documentation
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~