New React Native project with old version of react native

后端 未结 7 458
渐次进展
渐次进展 2020-12-07 18:18

I am trying to create a new react native project which should utilize an older version of react-native.

The result I would like would be to do something like:

7条回答
  •  [愿得一人]
    2020-12-07 19:12

    There is a new parameter in react-native init that allows just this. Try:

    react-native init --version="react-native@0.36.0" MyNewApp
    

    Here my source. I have successfully tested it with react-native-cli 2.0.1.

提交回复
热议问题