-
Notifications
You must be signed in to change notification settings - Fork 164
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
Some help with JS Import statements #39
Comments
Thanks @terrysahaidak , Sorry again if i am asking as obvious question but where is the GitterMobile derived from? or if there are links that you can refer me to, to catch up on the pattern of import. |
As you can see, it's not just
It exports Component named |
Yes that is correct. Sorry i missed out that part of the code in my earlier question. I understand that part actually. |
Yeah, but it default export, not named, so I can name the module var whatever I want:
So I named my root component in the entry file as GitterMobile for better semantic :) |
Oh now i understand. Thanks a bunch for the clarification, it all makes sense now. |
I glad I could help you, @moschap :) |
Good day Guys,
Sorry for asking if this is obvious but where is GitterMobile defined from this statement
import GitterMobile from './app'
, in theindex.android.js
file.I have looked in the app /folder which is in the root of the project and i still don't see it. Please help and great job too.
The text was updated successfully, but these errors were encountered: