React Native Tutorial #2 - Creating a React Native App

  Рет қаралды 424,711

Net Ninja

Net Ninja

Күн бұрын

Hey gang, in this React Native tutorial we'll talk about the different way to create aReact Native app, and use Expo to create ours. I'll also show you how to run the app on a real device & android emulator.
----------------------------------------
🐱‍💻 🐱‍💻 Course Links:
Course files - github.com/iam...
🐱‍💻 🐱‍💻 Other Related Courses:
Complete React Tutorial - • Complete React Tutoria...
React Hooks & Context Tutorial - • React Context & Hooks ...
Modern JavaScript Tutorial - • Modern JavaScript Tuto...

Пікірлер: 205
@MrGreenpaulo
@MrGreenpaulo 4 жыл бұрын
What makes you the best, Shaun, is that you show and explain every single step (e.g. recording your phone to show expo client) - you don't assume or pass-by anything! Legend!
@NetNinja
@NetNinja 4 жыл бұрын
Thanks, I don't like to assume :)
@greenjd3700
@greenjd3700 3 жыл бұрын
@@NetNinja I can't get metro bundler to work in docker. whenever I go to localhost it says stuff like "This site can’t be reachedlocalhost. refused to connect."
@abdelaesus6678
@abdelaesus6678 3 жыл бұрын
except how to open that android emulator
@maycodes
@maycodes 2 жыл бұрын
Shaun is the best
@warrengaytero1682
@warrengaytero1682 2 жыл бұрын
this man is the G.O.A.T programming instructor.. makes everything clear and simple . God Bless to you teacher.
@oyeibrahim
@oyeibrahim 3 ай бұрын
I was procrastinating on watching this tutorial being that it's a bit old but after trying different current tutorials on KZbin I'd to come back to this. And as expected you make it easy to understand. In other tutorials they were installing like 7 packages from the jump. That's wild for a beginner 😂
@Gamerfan2000
@Gamerfan2000 2 жыл бұрын
Man I remember the first time I used Android Studio and how much of a resource hog that program is. Don't even think about installing it on a computer without an SSD. Thankfully, we will be using it only for previewing the app, I remember in college we had to develop apps using the Java programming language and I also remember that It was such a pain to run on my old laptop. Since then Android studio is the stuff that nightmares are made of. Also, I have been a long time subscriber of yours and like always you have a great series, your new series on creating SPAs using React is probably the best out there. Everything I learned about web development I basically have to thank you for.
@adante407
@adante407 4 жыл бұрын
The Don of KZbin.
@julianstorm7722
@julianstorm7722 3 жыл бұрын
Bit late to the party. Thanks for all your work. I accidentally initially installed the expo CLI via npm and after some research figured I better use yarn. I knew yarn is fast but 161 sec(npm) vs 43sec yarn is fair a bit. Would love to see you discussing different package managers one day. Cheers
@sivaanjaneya9360
@sivaanjaneya9360 4 жыл бұрын
Thank you so much for giving this installation and proper way of react native
@mkilphewer2425
@mkilphewer2425 2 жыл бұрын
I was so confused of how to start a react native project...other videos i watched on KZbin too confused me because everyone were doing it differently.But your explanation is crystal clear brother at last i was thinking it will be nice if you just edit the text in app.js and show the changes in the virtual device and you did that too.Good explanation brother.Thank you so much.
@kkkl7400
@kkkl7400 4 жыл бұрын
What a Greatest Teacher !. Thank you for your video. It really helps to study React Native by myself : D
@DeveloVooshGWeb
@DeveloVooshGWeb 2 жыл бұрын
I'd recommend you to people who ask what tutorials to watch You explain everything super clearly and don't actually just tell people to copy this code and stuff
@FixDaily
@FixDaily 4 жыл бұрын
You are awesome, as you promised the best tutorial on youtube :)
@Fullflexno
@Fullflexno 4 жыл бұрын
Man, you are so through! Love your stuff! Cheers from Norway
@dimasmfth
@dimasmfth 4 жыл бұрын
No, sir! The first thing to do is Fall in Love! :D
@okechukwuobi707
@okechukwuobi707 3 жыл бұрын
Always confident to code because of his content
@kitaabehijran7045
@kitaabehijran7045 2 жыл бұрын
Another why i come to your tutorials is your wholesome accent..
@gyenabubakar
@gyenabubakar 4 жыл бұрын
You know what, I don't know what to say. Bringing up this course... You're the best Shaun. That's all I can say. ✌️💥
@techstacker5361
@techstacker5361 4 жыл бұрын
I love your content, but I'm a bit bummed out because when I found this series thought this was going to be one of those rare React Native tutorials that don't use Expo. It seems that nobody wants to teach the official React Native CLI, I guess it must really suck to learn then? 😂 I personally need to learn _without_ Expo for specific project-related reasons. Do you happen to know some good resources for that besides the official docs?
@sergiyrudenko905
@sergiyrudenko905 4 жыл бұрын
Man i have the same problem, looking for course without EXPO!
@techstacker5361
@techstacker5361 4 жыл бұрын
​@@sergiyrudenko905 yeah, it's like there's no market for it, for some reason, but there should be. None of the devs I've talked to would use Expo in a real client project (which surprises me a bit, but I guess there's a reason). If the React Native developers I've talked to are correct, Expo is useful if you need to build a small app quickly, or but not if you need custom functionality or real native code (Java, Swift) in your app.
@SmartWizzard
@SmartWizzard 4 жыл бұрын
You can check this pro.academind.com/courses/react-native-the-practical-guide-2020/lectures/13929460
@vladislavstratan4912
@vladislavstratan4912 4 жыл бұрын
@@SmartWizzard it uses Expo too
@vladislavstratan4912
@vladislavstratan4912 4 жыл бұрын
@@sergiyrudenko905 ​ Have you found some course without Expo?
@jaredlising-simplybrewedph
@jaredlising-simplybrewedph 4 жыл бұрын
hello guys!. glad to be here by the way. :) from the installation process i've encountered an error when running the created project - myproject. it seems that though i inititally installed the expo using NPM globally, the project seems still lacking the expo module that is requiring installation of yarn to be able to properly install the expo module. with that, ive installed the expo module properly using yarn. and the rest of the procedure is as it is. :) thank you!
@jonathanletchford1714
@jonathanletchford1714 4 жыл бұрын
I'm getting that error too!
@sameerdewan881
@sameerdewan881 5 ай бұрын
what makes this extra potent is that kendrick isn't even trying to be aggressive yet
@aimach413
@aimach413 9 ай бұрын
Thank you for your tutorials ! It's so clear !
@NetNinja
@NetNinja 9 ай бұрын
Glad to hear that :) thanks for watching
@nour-eddineoumakhlouf5296
@nour-eddineoumakhlouf5296 4 жыл бұрын
Siplicity always pays! Simply the best !
@matthewbeardsley7004
@matthewbeardsley7004 3 жыл бұрын
Ahh, setup seems complicated! Excited to start React Native, but wondering if I should finish flutter first...
@NaveenKumarasinghe
@NaveenKumarasinghe 3 жыл бұрын
I don't skip ads. That's the only way I can help Ninja.
@NetNinja
@NetNinja 3 жыл бұрын
Thanks so much, really appreciate it :)
@Toussaintiradukunda
@Toussaintiradukunda 5 ай бұрын
please we need an updated course of this one
@tonsantos21
@tonsantos21 4 жыл бұрын
Can I use genymotion for preview the app? Will it work like in the video or it will require some more configuration? Thanks for the content. I didn't know your channel, but I'm following this series right know and I am really enjoying. You're very clear and concise in your explanations. Thanks man!
@olimbeknizomov8081
@olimbeknizomov8081 3 жыл бұрын
i always enjoy your videos thanks man
@eazlai
@eazlai 4 жыл бұрын
Does yarn vs npm matter? I've always been an npm guy. What's your opinion?
@hooiyan6040
@hooiyan6040 4 жыл бұрын
This is what I'm waiting for!! **ps: Opps, the title has some typo... Hope you will notice it soon!
@NetNinja
@NetNinja 4 жыл бұрын
Haha yeah, thanks. Will fix it now :)
@cecon3315
@cecon3315 3 жыл бұрын
nice content, a huge thanks from Brazil !
@maycodes
@maycodes 2 жыл бұрын
Thank you shaun, You are the best !!
@WarVic
@WarVic 4 жыл бұрын
Please select firebase for the database in this course :) Thanks
@olaoluwaadeyemo6939
@olaoluwaadeyemo6939 4 жыл бұрын
i loves your videos bro.... and just a suggestion.. please make another video, where you make a more advanced app with react native and all.. with more designs and things like that.. Thank You Shaeug
@ramprasath25
@ramprasath25 4 жыл бұрын
Much waited course.. kudos :)
@Equilibrier
@Equilibrier 3 жыл бұрын
super tutorial, congrats, thanks !!!
@sediqabdullahi2078
@sediqabdullahi2078 Жыл бұрын
Thank you so much Shaun God bless
@flamingoodness4923
@flamingoodness4923 Жыл бұрын
Hello! Excited to finally learn react native! I just have a quick question. This tutorial series is now 3 years old, I wanted to know, is this tutorial is outdated, or does everything here still apply in 2023?
@immense_dreamer
@immense_dreamer Жыл бұрын
it is a little outdated, for example expo doesn't recommend to install globally and such, still a good tutorial tho.
@flamingoodness4923
@flamingoodness4923 Жыл бұрын
@@immense_dreamer ah ok. Thanks!
@suzunome47
@suzunome47 4 жыл бұрын
Android Studio emulator is a nightmare to run when you're using a PC with an AMD processor. Tried every resource I could find on Google and I'm still not able to make it work on my computer. I have no choice but to use my old phone for now.
@okechukwuobi707
@okechukwuobi707 3 жыл бұрын
I love you stuff from Nigeria
@shakilkhanprogrammer
@shakilkhanprogrammer 4 жыл бұрын
Does not work for me I faced this issue [09:05:28] Input is required, but Expo CLI is in non-interactive mode. --template: argument is required in non-interactive mode. Valid choices are: 'blank', 'blank (TypeScript)', 'tabs', 'minimal', 'minimal (TypeScript)' or any custom template (name of npm package).
@MrVisheshsingh
@MrVisheshsingh 4 жыл бұрын
stackoverflow.com/a/58616080
@youtubestar1525
@youtubestar1525 4 жыл бұрын
👍 Thanks mate for this course 👍
@armaansoni6906
@armaansoni6906 4 жыл бұрын
Your channel's great and all, but do you recommend any sources which teach react native via webstorm instead VS code?
@rajpatel8650
@rajpatel8650 2 жыл бұрын
npm start does not open in a browser. I tried the command W for open web and it still didn't work. How do I fix this?
@trantrungnghia9642
@trantrungnghia9642 8 ай бұрын
I now have this problem too. SOS
@jezjeza1633
@jezjeza1633 4 жыл бұрын
thanks for your works man!
@urazeem
@urazeem 3 жыл бұрын
Dear sir, What about low RAM Systems where We can't install Android Studio. In such case Can we create an app and do all the things which you have done in the next tutorials? Without installing Android Studio?
@osamagamal495
@osamagamal495 4 жыл бұрын
if you're on a mac, don't forget to include sudo before installing expo. sudo npm install expo-cli --global
@tomatomath3465
@tomatomath3465 2 жыл бұрын
why i can't go to metro bundler? instead it is giving me a blank page "Open up App.js to start working on your app!"
@eduardkoshkelyan8670
@eduardkoshkelyan8670 4 жыл бұрын
Great explanation
@skverskk
@skverskk 3 жыл бұрын
Excellent tutorial
@NetNinja
@NetNinja 3 жыл бұрын
Thank you! 😃
@imbue1112
@imbue1112 4 жыл бұрын
if you're on Mac OS, you need to hit F1 & install the 'code .' command before you can use it
@ahmedhabeeb2499
@ahmedhabeeb2499 4 жыл бұрын
how easy to follow this thanks habibi
@maritomesquita6719
@maritomesquita6719 4 жыл бұрын
i activated the notifications and after this i would do it twice if i could
@gopalmandloi6374
@gopalmandloi6374 4 жыл бұрын
Why we need to install expo on android emulator as well, ( i mean it is doing it automatically), but why it is needed , since it is a direct mobile emulator anyways. ? Thanks Shaun
@immanuelwandeto6481
@immanuelwandeto6481 3 жыл бұрын
The app runs ontop of the expo client app so it doesn't build native code in development.
@unknownman1
@unknownman1 4 жыл бұрын
hey shaun, just wanna know since we are using expo CLI so after downloading the github repo do we have to use npm install or expo install command??
@justyusaf
@justyusaf 4 жыл бұрын
You can use either one
@smaug9833
@smaug9833 4 жыл бұрын
Expo is just for testing, right? Can you show how to bundle the app in apk or ipa and install it on android or iOS
@malikojokorede7829
@malikojokorede7829 2 жыл бұрын
Thanks for this, but how do we set up the same environment for mac?
@tinvo5369
@tinvo5369 3 жыл бұрын
Hi bro, this is an awesome video but I can't autosave when I change my code, I must run on an android device so screen mobile can be changed, How can I fix it?
@manoj-k
@manoj-k 2 жыл бұрын
🔥🔥🔥
@rosgarcia6999
@rosgarcia6999 4 жыл бұрын
Sir good day! Can you tell us how hard is it to switch from expo cli to react native cli. I do have a hard time figuring out what tutorial would I watch. Some says expo cli is good but do have many cons.
@armaansoni6906
@armaansoni6906 4 жыл бұрын
I just had one doubt, which option should I go for when i am choosing the virtual device on Android studio when i have one plus 3t(ik....i am planning to get a better phone).
@prafulrane3591
@prafulrane3591 Жыл бұрын
What should I do next Can you make a pathway video to know how should we follow your playlist from your channel for every technology covered on your channel?
@mubeenjutt4397
@mubeenjutt4397 2 жыл бұрын
Hello dear! Can you plz tell me which color theme you used in your VS code
@cjtay
@cjtay 4 жыл бұрын
Will you be launching a full React Native course on Udemy soon?
@NetNinja
@NetNinja 4 жыл бұрын
Hey no, I'm putting the whole series on KZbin :)
@brodWenDayondon
@brodWenDayondon 4 жыл бұрын
@@NetNinja Awesome!
@lakshman587
@lakshman587 4 жыл бұрын
@@NetNinja Thanks a lot
@michelchaghoury870
@michelchaghoury870 3 жыл бұрын
can you make tuts about how to use galio framework with react native pleaseeee i always receive errors when tying to use Galio
@ashwinbordoloi
@ashwinbordoloi 4 жыл бұрын
Thank you!
@aftabamin8508
@aftabamin8508 3 жыл бұрын
Hello, I need a flat list with optimization for the contact list. could you create a video for this? I didn't find a single thing on this. I have tried all the given solutions on the internet and perform all the optimization.
@Shmoji
@Shmoji 4 жыл бұрын
Could not get Expo to install and I tried on multiple computers, anyone else having issues or figured out how to fix them? There seems to be some packages in Expo that are corrupted. Also, sometimes the installation just stalls or errors with no sign of why
@Shmoji
@Shmoji 4 жыл бұрын
If you are having these issues and you use Windows, try using Windows Powershell instead of CMD. Run it as administrator too. That solved my issue.
@Fuzias88
@Fuzias88 4 жыл бұрын
@@Shmoji Thanks! That solved my problem
@lakshman587
@lakshman587 4 жыл бұрын
Same issue
@Fuzias88
@Fuzias88 4 жыл бұрын
@@lakshman587 install it using powershell as administrator..
@lakshman587
@lakshman587 4 жыл бұрын
@@Fuzias88 tried even that not able to download
@Shakespeare1612
@Shakespeare1612 4 жыл бұрын
I am getting a lot of "deprecated" warning when trying to install expo-cli. Is there a version somewhere that has cleaned up (updated) all of these errors?
@LumbreraEnMiCamino
@LumbreraEnMiCamino 4 жыл бұрын
same problem here!
@blazefirer
@blazefirer 4 жыл бұрын
I did some looking on the expo github issues and there is an issue for this here github.com/expo/expo-cli/issues/1659 . Basically one the big maintainers responded saying they have not had time to fix this yet and that all of the deprecated packages just deprecated so they will not cause issues just a few warnings. They are working on getting pull requests to fix now but it really should not cause any problems in your project.
@isaiahdaniel2522
@isaiahdaniel2522 4 жыл бұрын
@@blazefirer ....hello but mine is not even getting installed
@_.fmendes._2021
@_.fmendes._2021 4 жыл бұрын
@@isaiahdaniel2522 same here
@lakshman587
@lakshman587 4 жыл бұрын
Same issue i was going to start this session but i got disappointed 😢😢😢 same deprecated error when installed (npm i -global expo-cli) Anyone please help with this issue
@peachleah_
@peachleah_ 3 жыл бұрын
My 'expo start' gives an error; Cannot determine which native SDK version your project uses because the module `expo` is not installed. Please install it with `yarn add expo` and try again. Can you help me please?
@programmingwithnit5308
@programmingwithnit5308 Жыл бұрын
Thank you
@cedrickvstheworld1810
@cedrickvstheworld1810 3 жыл бұрын
i like to learn english and speech from him
@shengzhan4631
@shengzhan4631 3 жыл бұрын
7:06 Oh, u even have a game boy ; )
@Fleshlight_Reviewer
@Fleshlight_Reviewer 4 жыл бұрын
thank you net ninja :)
@shubhrajit2117
@shubhrajit2117 10 күн бұрын
Note that expo has discontinued the Web UI so now u have to use the cli.
@jumbo999614
@jumbo999614 3 жыл бұрын
How big is Android Studio is? It started downloading tons of packages when I open Android Studio app. I couldn't finish the download process because the disk ran out of space. I guess I have to use phone app instead of the emulator. Is there Android Studio alternatives I can use for this tutorial?
@harpreetmadaan6
@harpreetmadaan6 2 жыл бұрын
Hi Shaun, I am getting one error message while running REACT native app through expo cli on android emulator. Error - Couldn't adb reverse : device 'adb' not found. In my terminal window. After running. - npm start - press a
@alexzil2142
@alexzil2142 2 жыл бұрын
Are we getting a udemy course on react native in 2022??
@eazlai
@eazlai 4 жыл бұрын
A lot of setup!
@NikhilAdiga
@NikhilAdiga 4 жыл бұрын
I'm getting this Error running adb:more than one device/emulator error and can't seem to get past it. :(
@getrogo4474
@getrogo4474 4 жыл бұрын
'expo' is not recognized as an internal or external command, operable program or batch file. anyone help
@mauritzfunke280
@mauritzfunke280 4 жыл бұрын
Something went wrong when installing the expo cli. Check if NodeJS is installed and make sure you have ran npm correctly
@blazi_0
@blazi_0 3 жыл бұрын
same fucking issue here !!! i tried everything !!
@isaiahdaniel2522
@isaiahdaniel2522 4 жыл бұрын
hey shuan gr8t video like always.......but am having trouble installing expo cli, i get an error saying it is deprecated
@lakshman587
@lakshman587 4 жыл бұрын
Same error
@assemmohamed4424
@assemmohamed4424 3 жыл бұрын
my expo client (iOS) always get 'request timeout' error, it's not working. can I have help, please?
@verdientflash7308
@verdientflash7308 3 жыл бұрын
Dude i get an error in Android Studio while installing the virtual phone The Error is Install HAXM but when i install the HAXM it won't install
@VeeWebCode
@VeeWebCode 4 жыл бұрын
Love you
@adimtaruna8583
@adimtaruna8583 4 жыл бұрын
Finally
@mudassirsayed8703
@mudassirsayed8703 4 жыл бұрын
Wow😍
@lonewolfcoding5208
@lonewolfcoding5208 3 жыл бұрын
so i can build native app using only node js on my computer and my mobile phone?
@deepaking7
@deepaking7 2 жыл бұрын
Can we use VS code Instead of Android studio
@HarelTussi
@HarelTussi 4 жыл бұрын
Yessssssss
@manishmothi73
@manishmothi73 4 жыл бұрын
Hi the net ninja when I try to go to "cd apps" it says there is no such file. How do I fix this. I am on Mac
@hafizvj7939
@hafizvj7939 3 жыл бұрын
I'm getting this error when i run "react-native run-android" __________________________________________________________ info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. (node:8672) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) Jetifier found 967 file(s) to forward-jetify. Using 4 workers... info JS server already running. 'C:\Users\Hafiz' is not recognized as an internal or external command, operable program or batch file. info Launching emulator... 'C:\Users\Hafiz' is not recognized as an internal or external command, operable program or batch file. 'C:\Users\Hafiz' is not recognized as an internal or external command, operable program or batch file. 'C:\Users\Hafiz' is not recognized as an internal or external command, operable program or batch file. 'C:\Users\Hafiz' is not recognized as an internal or external command, operable program or batch file. error Failed to launch emulator. Reason: Emulator exited before boot.. warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch. info Installing the app... FAILURE: Build failed with an exception. * What went wrong: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at help.gradle.org BUILD FAILED in 1s error Failed to install the app. Make sure you have the Android development environment set up: reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 _____________________________________________________________________________________________________________ Please Help
@imbue1112
@imbue1112 4 жыл бұрын
anyone else have issues when using "npm install expo-cli --global" on mac os?
@trulsmatiastorgersen
@trulsmatiastorgersen 4 жыл бұрын
imbue Yes, that command is for windows. Do “npm install -g expo-cli” instead :)
@mouadhgnichi6199
@mouadhgnichi6199 4 жыл бұрын
expo open an error; Uncaught Error: java.net.SocketTimeoutException: failed to connect ... any help please !
@markoco3068
@markoco3068 4 жыл бұрын
I got the same error. have you already resolved it? pls help. thanks :D
@rubenarzoyan8287
@rubenarzoyan8287 4 жыл бұрын
i got an error when i click Run on Android device/emulator
@ElHawary
@ElHawary 4 жыл бұрын
Arigato Sensi ;)
@inhthainguyen1625
@inhthainguyen1625 4 жыл бұрын
How about using Android Studio ?
@talhasiddique5042
@talhasiddique5042 4 жыл бұрын
sir my app is not working in expo app there is something wrong but i dont know how to fix
@jackw.3978
@jackw.3978 Жыл бұрын
also android studio does not look and work this way anymore... all changed... :(
@giacomon5147
@giacomon5147 4 жыл бұрын
Do not have 'Pie' option at @9:29. I'm using ubuntu.
@jayarammanikumar229
@jayarammanikumar229 4 жыл бұрын
can I install react packages in react native packages?
@BigMasterSameerAman
@BigMasterSameerAman Жыл бұрын
It's taking too long but not able to run on my iphone 14 max pro
React Native Tutorial  #3 - Views, Text & Styles
9:14
Net Ninja
Рет қаралды 242 М.
Moving Off React Native
20:50
Theo - t3․gg
Рет қаралды 197 М.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 262 #shorts
00:20
Это было очень близко...
00:10
Аришнев
Рет қаралды 4,8 МЛН
React Native for Beginners tutorial
22:45
Dave Gray
Рет қаралды 11 М.
Expo Go vs Development Builds: Which should you use?
21:37
From React to React Native in 12 Minutes
12:33
Simon Grimm
Рет қаралды 19 М.
React Native Crash Course
51:28
Traversy Media
Рет қаралды 696 М.
React native windows installation
20:14
Hitesh Choudhary
Рет қаралды 213 М.
React Native Tutorial  #4 - Using State
9:38
Net Ninja
Рет қаралды 202 М.
How To Debug React Apps Like A Senior Developer
21:07
Web Dev Simplified
Рет қаралды 153 М.
10 Essential React Native Tips Every Developer Must Know
12:07
Simon Grimm
Рет қаралды 12 М.
React Native Environment Setup for MacOS (M1 and Intel)
13:36
notJust․dev
Рет қаралды 137 М.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 262 #shorts
00:20