Created
January 9, 2019 14:03
-
-
Save noomorph/00ab49ceb392efc366c4424df930692c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import LoginScreenWithSideEffect from './LoginScreen'; | |
module.exports = { | |
get LoginScreen() { | |
return LoginScreenWithSideEffect; | |
}, | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
DEFAULT_COLOR: 'blue', | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Constants from './constants'; | |
import Components from './components'; | |
console.log(Constants.DEFAULT_COLOR); | |
render(new Components.Screen()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Constants from './Constants'; | |
Constants.DEFAULT_COLOR = 'red'; | |
export default function Screen() {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment