Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View.js, line 84: const View = React.createClass, LayoutPropTypes.js -> React.PropTypes #14610

Closed
switheyw opened this issue Jun 19, 2017 · 5 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@switheyw
Copy link

switheyw commented Jun 19, 2017

Description

Explain what you did, what you expected to happen, and what actually happens.

Reproduction Steps

List all the steps required to reproduce the issue you're reporting. These steps should be clear and concise. Always include a sample of your code.

Sample Code

// $FlowFixMe(>=0.41.0)
84: const View = React.createClass({

An example of your code or a reproduction of the problem using Snack is REQUIRED.
Using Snack? What is Snack.
The 1st few stack entries
printWarning warning.js
warning warning.js
get react_development.js
(anonymous) View.js

Solution

What needs to be done to address this issue? Ideally, provide a pull request with a fix.
All of the calls to React.createClass and calls to react-props have to be removed and replaced
with supported replacements.

Additional Information

  • React Native version: [FILL THIS OUT: Be specific, filling out "latest" here is not enough.]
    albums(15:34)react-native --version
    react-native-cli: 2.0.1
    react-native: 0.45.1

  • Platform: [FILL THIS OUT: iOS, Android, or both?]
    iOS

  • Development Operating System: [FILL THIS OUT: Are you developing on macOS, Linux, or
    Windows?]
    Mac

  • Build tools: [FILL THIS OUT: Xcode or Android Studio version, iOS or Android SDK version, if applicable]
    Xcode 8.3.3

@switheyw
Copy link
Author

Should user community generate a list of files with depreciated calls?

@hellomaya
Copy link

Probably same issues:

#14621

#14620

@switheyw
Copy link
Author

switheyw commented Jun 20, 2017 via email

@hramos
Copy link
Contributor

hramos commented Jun 23, 2017

What is Snack?

https://snack.expo.io/

See the contribution guidelines linked at the top. Snack provides a web player where you can share the JavaScript portion of your React Native app and allow others to run the app within an iOS or Android device.

@hramos
Copy link
Contributor

hramos commented Jun 23, 2017

This is being tracked in #14712

@hramos hramos closed this as completed Jun 23, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Jun 23, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants