How to update core-js to core-js@3 dependency?

后端 未结 6 682

While I was trying to install and setup react native, the precaution observed about the core-js version as update your core-js@... to core-js@3 But don\'t know how to update

6条回答
  •  时光取名叫无心
    2020-12-24 11:27

    You update core-js with the following command:

    npm install --save core-js@^3
    

    If you read the React Docs you will find that the command is derived from when you need to upgrade React itself.

提交回复
热议问题