Is it possible to apply animation for react-router-native?

末鹿安然 提交于 2019-12-11 09:53:09

问题


I know that this question sounds like asking for suggestion which should not be here, But I am posting after searching a lot for my requirement.

I am using react-router-native for navigation which is great functionality wise. But comes to the animation part, it doesn't give the best user experience. Official Documentation doesn't seem like providing any animation information.

Even in the google I found some articles(A shallow dive into React Router v4 Animated Transitions, Animating Route Transitions with React Router) describing about animation for navigation but only for react.

Hence, Could anybody let me know that is there any way to apply animation for react-router-native?


回答1:


The standard place to start is exploring basic Animations. That said - have a look at one of the more developed transition libraries out there e.g. react-native-transition.

If it's specifically for just routing then there is a great answer Here.




回答2:


You might want to try this animation library for react-router-native: react-router-native-stack



来源:https://stackoverflow.com/questions/48806300/is-it-possible-to-apply-animation-for-react-router-native

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!