啊,这是因为我们的行动很快!我的 Select 太快了.在25年中,我们看到了这样的警告:
Deprecations
现在不推荐使用React native提供的React API-2EAFC44 0b534d1
而不是:
import React, { Component, View } from 'react-native';
你现在应该:
import React, { Component } from 'react';
import { View } from 'react-native';
26年后的一个版本现在是breaking change
如果你敢的话,你可以试试这个codemod.我只是在做手工修改.