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
Seems you're trying to access 'ReactNative.createClass' from the 'react-native' package. Perhaps you meant to access 'React.createClass' from the 'react' package instead?
For example, instead of:
import React, { Component, View } from 'react-native';
You should now do:
import React, { Component } from 'react';
import { View } from 'react-native';
To fix this in 'index.js'
var React = require('react-native');
var { StyleSheet, Text, View, TextInput, Animated } = React;
should be changed to
import React from 'react';
import { StyleSheet, Text, View, TextInput, Animated } from 'react-native';
The text was updated successfully, but these errors were encountered:
With react-native 0.29.0 I got the error-message
To fix this in 'index.js'
should be changed to
The text was updated successfully, but these errors were encountered: