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

StaticContainer file renamed, breaks native-base #12395

Closed
lithodomos opened this issue Feb 15, 2017 · 2 comments
Closed

StaticContainer file renamed, breaks native-base #12395

lithodomos opened this issue Feb 15, 2017 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@lithodomos
Copy link

Description

Latest master has StaticContainer.react.js instead of StaticContainer.js - just want to check whether this is deliberate/correct, so I can submit to either react-native or native-base to fix the problem. When using native-base, it attempts to include StaticContainer so breaks because it can't find it.

Reproduction

// copied from native-base/src/basic/react-native-scrollable-tab-view/SceneComponent.js

const StaticContainer = require('react-native/Libraries/Components/StaticContainer');

Solution

Either rename the file in react-native or I'll submit a PR to native-base.

Additional Information

  • React Native version: current master
  • Platform: both
  • Operating System: OSX
@ide
Copy link
Contributor

ide commented Feb 15, 2017

StaticContainer is part of the internal API (that is, it's not exported from react-native). As with any use of internal APIs, consumers of them (in this case Native Base) should either not use them or react to breaking changes.

So in the short term sending a PR to Native Base is best, longer term they can decide if they want to stop using RN's StaticContainer or continue keeping an eye on how it's named within RN.

@ide ide closed this as completed Feb 15, 2017
@MagicIndustries
Copy link

Excellent, thank you.

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 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

3 participants