简体   繁体   中英

React-Native - Error: `StackViewTransitionConfigs` has been removed

I'm getting this error on a Android simulator Error: StackViewTransitionConfigs has been removed.

Ive looked at the react-navigation documentation and it does not seem like StackViewTransitionConfigs has been removed or moved.

I'm using "react-navigation": "4.0.7"

I know several packages have been moved but Ive found no posts related to this.

Any ideas?

StackViewTransitionConfigs was moved to react-navigation-stack with all things related to stack navigators. You can check what changed in 4.0 here .

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