You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got warnings like below, it looks like all components from react-native had been imported by default, so can I set that as empty or just view and text, and I will import the others when I need them.
Thanks.
The text was updated successfully, but these errors were encountered:
@Riant for now, all React Native components are imported and registered by vue-native-core.
One thing we could do is provide a utility which will do this only if required by the user, in a future release. But for now, there is no way to prevent all components from being imported.
RishabhKarnad
changed the title
Question: Can I set the default components which import from react-native or react?
Allow the user to import only required React Native components, and provide a utility to import and register all components.
Nov 14, 2019
I got warnings like below, it looks like all components from react-native had been imported by default, so can I set that as empty or just
view
andtext
, and I will import the others when I need them.Thanks.
The text was updated successfully, but these errors were encountered: