Skip to content
This repository was archived by the owner on Mar 15, 2018. It is now read-only.
This repository was archived by the owner on Mar 15, 2018. It is now read-only.

Is react-transmit-native deprecated? #69

@bdougie

Description

@bdougie

What is this?

Correct me if I am wrong but having a separate react-native library is not necessary since React Native now relies on React directly for its Component(CreateClass) API.

I only came to this conclusion when starting a project with the React Native version and got the below error when running tests. I have not looked at the internals as of yet, but assume the React Native library is looking for things that are no longer available in newer versions of React Native.

Currently using 0.39.2

    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';
    
    Check the release notes on how to upgrade your code - https://github.com/facebook/react-native/releases/tag/v0.25.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions