React Native Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025

ความคิดเห็น • 430

  • @luanrodrigues4645
    @luanrodrigues4645 7 ปีที่แล้ว +455

    0:00 What This Guide Covers
    1:20 What is React Native
    2:30 Real Mobile Apps
    3:30 Advantages of React Native
    5:09 UI Component Examples
    7:15 APIS for Device Interaction
    7:51 Development Environment & Specs
    9:08 MyApp Component (Code Explanation)
    11:00 Let's Code... Install and Setup
    17:56 React Native Structure
    20:23 Coding from Scratch
    24:30 Component 1 - Simple TextView
    26:45 Component 1 - Properties (Props)
    31:37 How to Debug Console on Terminal
    32:41 Styling
    33:20 Component 2 - In Line Styles
    35:33 Component 2 - StyleSheet
    43:06 Touchable Highlight
    47:12 Touchable Opacity
    49:49 Component 3 - TextInput
    57:07 Component 3 - Switch
    1:00:37 Component 4 - ListView
    1:09:50 Component 5 - Get Data from Api
    1:16:37 Component 6 - Navigator
    FULL REACT NATIVE COURSE
    www.eduonix.com/affiliates/id/16-10461

    • @TraversyMedia
      @TraversyMedia  7 ปีที่แล้ว +21

      Comment Pinned, thank you

    • @luanrodrigues4645
      @luanrodrigues4645 7 ปีที่แล้ว +15

      You teach very well! So, thank you for this video! You helped me a lot!

    • @PerryDolia
      @PerryDolia 7 ปีที่แล้ว

      How do you combine React-Native with React-VR?

    • @Breaksnbeats
      @Breaksnbeats 7 ปีที่แล้ว +5

      Legendary comment thanks.

    • @JustTravelBucketList
      @JustTravelBucketList 6 ปีที่แล้ว +5

      The man, the myth, the legend himself..

  • @Tommy-km4wo
    @Tommy-km4wo 6 ปีที่แล้ว

    You are the first person I understand as far as your organization, and explaination. I'm literally emotional right now.

  • @norytyeroc
    @norytyeroc 6 ปีที่แล้ว

    Omg, your setup for react native (starting at 11:00) really saved me. I was up for hours last night debugging errors to simply display on a physical android device. I even followed the official docs... after I installed yarn (which I didn't before), it told me that my version of node (v9.11) has to be v10 or higher. The other errors I got wouldn't even tell me this... THANK YOU!

  • @igormingmesquita
    @igormingmesquita 8 ปีที่แล้ว +39

    Congratulations for you work. Absolutelly useful class. Currently we don't have so much content about react native free. Thank you for that.

    • @crazieeez
      @crazieeez 6 ปีที่แล้ว +1

      React Native is crap.

    • @nelkitoo
      @nelkitoo 6 ปีที่แล้ว +1

      why

  • @ZaidKhanPathan
    @ZaidKhanPathan 5 ปีที่แล้ว +1

    Great tutorial as always.
    Minor change: [1:30:25]
    It should be navigator.pop(); instead of navigator.push();.
    Because push will create new object of Component5 and pop will get user back to already created Component5.

  • @sol0matrix
    @sol0matrix 6 ปีที่แล้ว

    Brad congratulations on reaching half a million subs you deserve it for the hard work and effort you put in.

  • @pathofmaximumresistance7208
    @pathofmaximumresistance7208 6 ปีที่แล้ว

    This is perfectly paced for anyone coming in with previous ReactJs familiarity. Gonna check out your other videos and the full course!

  • @Jaydeeofficial
    @Jaydeeofficial 7 ปีที่แล้ว

    I just became a patreon after watching this video. I've been Watching your content for a long time and im so proud that im a patreon as well. Thanks man. You helped me a lot.

  • @damiencook4395
    @damiencook4395 7 ปีที่แล้ว +38

    I love the sound of that keyboard, very satisfying.

    • @DaLeR080
      @DaLeR080 6 ปีที่แล้ว +1

      yeah, but it is not synced with the video 😁

  • @zhangbruce4815
    @zhangbruce4815 7 ปีที่แล้ว +10

    great video man, just had to act like a smart ass and point out that the last few second you should change the push component 5 to pop for back button so the ui doesn't feels like we are going to a new page.

  • @darkracc00n
    @darkracc00n 7 ปีที่แล้ว +3

    Quick Note:
    The List View you are talking about at 1:02:30 has improved. It's pretty easy now.
    Btw. Great Tutorial! It is really worth the time spending, to get started!

  • @MacMiggity
    @MacMiggity 6 ปีที่แล้ว

    Jeez apparently I need to subscribe, the last 3 videos I searched for, yours came up first! Great content!

  • @ronnymichael3023
    @ronnymichael3023 6 ปีที่แล้ว +3

    Dude! So awesome 😄 You've helped me jump start to React Native without any Reactjs background. Thank you!

    • @chiragprajapati6312
      @chiragprajapati6312 6 ปีที่แล้ว

      I have created an react native ,redux, nodejs - express, mongodb app please have a look once . th-cam.com/video/aoBuikeGg_8/w-d-xo.html

  • @jeshantkalita600
    @jeshantkalita600 5 ปีที่แล้ว

    I love you bro... U make it happen after attempting react native so many times from diffrenet soursces. Thank you man...

  • @brodusmax13
    @brodusmax13 7 ปีที่แล้ว +7

    Excellent course, got me started even with a limited understanding of React.js. Thank you!! :D

  • @hanifhasan5938
    @hanifhasan5938 5 ปีที่แล้ว +1

    you helped a lot man, you actually saved my internship. Thank You

  • @ankurleonardo
    @ankurleonardo 7 ปีที่แล้ว

    Mindblowing Video. 100% recommended, no second wasted.

  • @factsdekhoo
    @factsdekhoo 5 ปีที่แล้ว +2

    I am a beginner in app development. and have completed REACT course & learned a lot from you Mr.Brad Thanks a lot. I am building my career, kindly help in making decesion which is better Framework REACT NATIVE or Flutter from future perspective.

    • @jackfrost8969
      @jackfrost8969 5 ปีที่แล้ว +1

      react native is well established whereas flutter is in the initial stage.

    • @factsdekhoo
      @factsdekhoo 5 ปีที่แล้ว +1

      @@jackfrost8969 thanks for reply. It will help me a lot

    • @exseniarchacademy3589
      @exseniarchacademy3589 2 ปีที่แล้ว

      also React Native is extending in a high speed, it has even reached now to windows platform and a team which are working on it

    • @exseniarchacademy3589
      @exseniarchacademy3589 2 ปีที่แล้ว

      by the way too late 😅

  • @trikckii9936
    @trikckii9936 6 ปีที่แล้ว

    Thanks Travesy Your One of the best You Tubers out there .. making good tutorials for everyone ..

  • @MasterZiomekPL
    @MasterZiomekPL 5 ปีที่แล้ว +15

    For anyone who wants to learn it in 2019, most of the beginning is outdated.. just stick with the documentation. It's really easy to understand.

    • @lazycoder9126
      @lazycoder9126 4 ปีที่แล้ว

      Or rather watch Brad's latest video, 👀

  • @bonniejung3575
    @bonniejung3575 7 ปีที่แล้ว

    It is helpful that you sometimes have some errors and show how to fix them. Good to know other's thought process. I would prefer this way of tutorial rather than 'perfect', 'no mistake' one

  • @SaiMako19
    @SaiMako19 8 ปีที่แล้ว

    Thanks for this crash course tutorial. I needed some sort of an explanation with Facebook's React-native tutorial and this helped a lot. Subscribed.

  • @win267
    @win267 5 ปีที่แล้ว +1

    Please make complete course with react native in udemy.
    Really looking forward to it.
    Never seen any udemy course which is near the quality you produce.
    Love you and your work, Brad

  • @rexli2017
    @rexli2017 6 ปีที่แล้ว

    another excellent tutorial. Every time when I need to learn new stuff, I will go
    Traversy Media.

  • @CieloVistaSoftware
    @CieloVistaSoftware 7 ปีที่แล้ว +4

    This tutorial got me off the ground as the react site documents weren't as good as this! Thanks!

  • @tonyagenbroad2196
    @tonyagenbroad2196 8 ปีที่แล้ว

    Super Stoked! Can't wait to see the course

  • @amitchowdhury1928
    @amitchowdhury1928 7 ปีที่แล้ว

    Thanks man, last 3 time try can't learn it, but now this time I am able to develop project, You teach very well.keep it up.

  • @mariusschroeter
    @mariusschroeter 6 ปีที่แล้ว

    Thanks for the Video! I like the fact that you can learn this stuff for free on TH-cam. There are so many videos where you can learn!

  • @DanoKozy
    @DanoKozy 7 ปีที่แล้ว

    Great Class. So good, I bought the full course. I appreciate the attention to detail.

  • @enriqueguerena4559
    @enriqueguerena4559 5 ปีที่แล้ว

    Do you have a video on react native google maps keys etc. I liked the other video you did on JS maps, so I thought it would be nice to see a similar video for react native. You are a good teacher by the way.

  • @fata__morgana
    @fata__morgana 6 ปีที่แล้ว +59

    For new comers, ListView and Navigator is deprecated.

  • @freegameuniversity
    @freegameuniversity 8 ปีที่แล้ว

    Thanks a lot. I've seen both your react and react native video. This give me an overview of react native. Thanks a lot.

  • @MithileshMusic92
    @MithileshMusic92 6 ปีที่แล้ว

    Thank you for this brad , your tutorials are always the best :)

  • @Bala-go6cc
    @Bala-go6cc 6 ปีที่แล้ว

    Very good explanation, good start for react developers

  • @kleberalvesjr
    @kleberalvesjr 6 ปีที่แล้ว

    im here after 17 months just to say: I LOVE U.

  • @cubui
    @cubui 6 ปีที่แล้ว

    Nice video! This helped a lot for my React Native video series where I build the Airbnb mobile app.

  • @ryderdonahue
    @ryderdonahue 7 ปีที่แล้ว

    Great video! Your explanations were very clear and well laid out.

  • @germanquintana7757
    @germanquintana7757 8 ปีที่แล้ว

    Looking forward to the eduonix full course. Thanks!!

    • @TraversyMedia
      @TraversyMedia  8 ปีที่แล้ว

      www.eduonix.com/affiliates/id/16-10461

  • @8o8inSquares
    @8o8inSquares 7 ปีที่แล้ว

    23:38, you can keep the Capital letters in the components, but when you register the component, the first argument should be string, all lowercase, and it doesn't matter how you name it either, it doesn't have any connection to the component, it's just a "Key"

  • @davidjian5014
    @davidjian5014 7 ปีที่แล้ว

    Nice tutorial! Very straight forward and easy to understand

  • @rajbohra5148
    @rajbohra5148 5 ปีที่แล้ว

    brushed up my memory with this...awesome crash course !

  • @nickpreiser9225
    @nickpreiser9225 6 ปีที่แล้ว

    Fantastic Video, thanks a ton. sold me on using it for our mobile app for sure.

  • @henrynanabeyinagyapong1548
    @henrynanabeyinagyapong1548 6 ปีที่แล้ว

    I love your tutorials. Excellent! Great Work

  • @tammyton
    @tammyton 7 ปีที่แล้ว

    Great video, thanks for making it. Feedback: try to sound a little bit more lively/less monotone and it'll make it easier for people to watch.

  • @tasmisr
    @tasmisr 7 ปีที่แล้ว

    great educ video, thanks so much for the time you contributed for this!

  • @2badigs
    @2badigs 8 ปีที่แล้ว

    Thank you for your course, u made me learn a lot in 1.5 hours
    Subscribed,looking forward for new videos from you (:

  • @desoldenau
    @desoldenau 7 ปีที่แล้ว

    Hey I couldn't find the flexbox in 20 minutes video that u mentioned, btw thx for the video, pretty well explained

  • @xJinWook
    @xJinWook 8 ปีที่แล้ว +13

    Are you going to make another Eduonix course like you did with React? That project-by-project course was fantastic.

    • @rohanparekh4953
      @rohanparekh4953 7 ปีที่แล้ว

      I am not able to access that link for 10 new course on Eduonix. Can you please share where are you able to access it? thanks

  • @nitroy2k
    @nitroy2k 7 ปีที่แล้ว

    Excellent tutorial will watch rest of your videos I need to do an Upgrade for my Native app and we need IOS so this might be the way to go and execute it all at once .. Thanx!

  • @chang112x
    @chang112x 6 ปีที่แล้ว

    Watching dos while using bash, my eyes are bleeding, thx for the tutorial though. You saved my life.

  • @shipragupta9522
    @shipragupta9522 7 ปีที่แล้ว

    Nice video to get started on react native .Thanks

  • @Webeasystep
    @Webeasystep 7 ปีที่แล้ว

    very good react native crash course, nowadays i am interesting also to make tutorials about react native

  • @stevenreubenstone8833
    @stevenreubenstone8833 6 ปีที่แล้ว

    Great crash course thanks for the content

  • @odesso4625
    @odesso4625 5 ปีที่แล้ว

    Solid tutorial.!
    Still holds up!

  • @soultouchingsongs
    @soultouchingsongs 7 ปีที่แล้ว

    Best ever tutorials...Thank you sooo much.

  • @ABENZ1
    @ABENZ1 8 ปีที่แล้ว

    I love everything you do and I follow and recommend it to everyone I work with and people who are interested in doing any kind of development. One request is it possible for you to do a full project with the MERN stack for example build a full application with us online and post it, something bit more real world like a Human Resource system or a clinic system, or a non profit project, something like what Mongo Universtity is doing right now by building a full web application for a store? But you explain things so well, so how about it?

    • @TraversyMedia
      @TraversyMedia  8 ปีที่แล้ว

      Thanks, I appreciate that. The thing with what you are asking is that to build a big project like that takes a lot of time and planning, which is something I do not have much of. I do not make very much money on TH-cam, I do this because I want to help people. So if I do find some extra time I will do something like this

  • @matthewpaquette
    @matthewpaquette 7 ปีที่แล้ว

    Install is at 11:00 if this is useful for anyone else :)

  • @zxginay3962
    @zxginay3962 7 ปีที่แล้ว

    complex overview of react native, great job

  • @MoatazMohamady
    @MoatazMohamady 6 ปีที่แล้ว

    Thanks your crash courses helped me a lot

  • @mukhamadtaufikurrachman5239
    @mukhamadtaufikurrachman5239 7 ปีที่แล้ว

    Excellent course, Great Job!

  • @Aimopotis
    @Aimopotis 7 ปีที่แล้ว

    Thank you man so much you just made May day

  • @pinpongone
    @pinpongone 7 ปีที่แล้ว

    Thanks for the really good explanation.

  • @saikamaldidigam8311
    @saikamaldidigam8311 6 ปีที่แล้ว

    Thanks a lot for great videos...
    It’s incredibly useful for beginners

  • @abhishekkumar-ih2ox
    @abhishekkumar-ih2ox 7 ปีที่แล้ว

    such a great video for beginners. Thank you so much.

  • @noernova1337
    @noernova1337 7 ปีที่แล้ว

    So grate video fro beginner like me, It's verry helpful. Thank you very much sir.

  • @juliano_mio
    @juliano_mio 7 ปีที่แล้ว +1

    Really good introduction! Thanks a lot :)

  • @KamilNajax
    @KamilNajax 7 ปีที่แล้ว

    Awesome, thanks Brad!

  • @MikayilAbdullayev
    @MikayilAbdullayev 5 ปีที่แล้ว +1

    Man, how I feel happy when I find someone with native US accent explaining a technology these days

  • @michaelr.santos6541
    @michaelr.santos6541 7 ปีที่แล้ว +193

    This should be categorized as porn for front end developers :). Nice tutorial man. I'm gonna checkout your paid stuff

    • @cbarrerarodriguez
      @cbarrerarodriguez 6 ปีที่แล้ว

      You are damn right! hahah

    • @h8feight
      @h8feight 6 ปีที่แล้ว +3

      its not just front end that this is porn for, this is like style porn, back end porn, and i'm realizing how this is sounding, so i'll stop...

    • @orimorningstar7094
      @orimorningstar7094 6 ปีที่แล้ว +1

      I was stressing out a bit because I'm learning react native for a small project for an interview and seeing how close to React is I was like please daddy put that View in

    • @EriAirlangga
      @EriAirlangga 6 ปีที่แล้ว

      Basically all that make developers wet

    • @piusanyebe6249
      @piusanyebe6249 6 ปีที่แล้ว

      lol

  • @ipromisethatserendipityisa9656
    @ipromisethatserendipityisa9656 7 ปีที่แล้ว

    Thank you very much for this tutorial. Learned a lot! :D

  • @AntonioBrandao
    @AntonioBrandao 6 ปีที่แล้ว

    In macOS it is recommended to install *yarn* with Homebrew.

  • @nafplannable
    @nafplannable 8 ปีที่แล้ว

    thank you so much for a very good explanation in each component, god bless u

  • @nguye1971
    @nguye1971 5 ปีที่แล้ว

    Thank you for sharing. Very instructional

  • @billsb5873
    @billsb5873 7 ปีที่แล้ว

    I have read in Getting Started in react that I can start without android studio, SDK or XCode, I thnk it would be great at the start to mention alternative ways.

  • @matthewkeron1448
    @matthewkeron1448 5 ปีที่แล้ว

    What are your thoughts on Google's flutter? Do you think it's better than react native? Also any plans to do a tutorial on flutter? Love your work!

  • @dewexdewex
    @dewexdewex 7 ปีที่แล้ว

    You are a great teacher!

  • @santuparamanick3270
    @santuparamanick3270 6 ปีที่แล้ว

    Very nice video tutorial. Please tell me when next video will come with advance topic. I am waiting for it.

  • @Grokfyr
    @Grokfyr 5 ปีที่แล้ว +1

    To help people thats going to watch this, set playback speed to 1.25... helps ALOT..

  • @rebeldefmusik
    @rebeldefmusik 6 ปีที่แล้ว

    Nice tutorial, thanks!!!!!!!!!!!!!

  • @ashokparthiband708
    @ashokparthiband708 7 ปีที่แล้ว

    Hey Thanks Buddy. This Video Really Helpful.

  • @kayan_dev
    @kayan_dev 5 ปีที่แล้ว

    i love every sic of the video thanks :)

  • @Benetzz
    @Benetzz 7 ปีที่แล้ว

    Nice video, but i have a silly question for you. What keyboard do you have? That mechanical sound is amazing.

    • @TraversyMedia
      @TraversyMedia  7 ปีที่แล้ว +1

      At that time I was using the Logitech G19. Its funny, some people love the sound and some hate it.

  • @anthonychan149
    @anthonychan149 7 ปีที่แล้ว

    Awesome tutorial

  • @eagleclaww
    @eagleclaww 6 ปีที่แล้ว

    Seems you have to do a lot of custom styling with react native. With Xamarin.Forms everything looks native out of the box, and it will look correct on every device.

  • @surajitdas94
    @surajitdas94 6 ปีที่แล้ว

    Hello Sir , Can you please make videos on react navigation v3. Thanks for all your creation , I've learned a lot and continuing to do so.

  • @ricardogsaga
    @ricardogsaga 7 ปีที่แล้ว

    Greetings folks!
    This video is perfect to start with the basics, but at the end of the video I couldn't apply 'Navigator' because it's now deprecated, it would be a very good Idea to update the video with the new features. (Y)

  • @rayc3103
    @rayc3103 5 ปีที่แล้ว +1

    Would you consider updating and releasing your course on Udemy? I was hoping the full course would be available.

  • @tigran.galstyan
    @tigran.galstyan 7 ปีที่แล้ว

    Thanks for a good crash course. It's very useful.
    I have a question. Shouldn't we use "routeStack" for going back instead of pushing new (in this case component5) component in navigator?

  • @cromuelbarut9859
    @cromuelbarut9859 4 ปีที่แล้ว

    I hope there will be udemy course from Brad featuring React Native ❤

  • @zefaoo
    @zefaoo 6 ปีที่แล้ว

    veriiigoooddd ahushuashuashusa nice work man!! you help me so much!!

  • @vikramjar
    @vikramjar 7 ปีที่แล้ว

    Awesome intro video to React- May I ask you to share the link to setup / installation video which u mentioned . i could not find it
    Would be nice to how do do the basic setup

  • @haciendadad
    @haciendadad 7 ปีที่แล้ว +2

    Some issues I had to overcome for getting android development on a Mac so that my app can get installed and I can see it reflect my code changes.
    - Make sure you have the Java SDK installed, not just the JRE
    - Make sure you have values set at "echo $JAVA_HOME" and your path is getting this value
    - Make sure that when you run "java -version" it matches what you have installed at "$JAVA_HOME/bin/java -version"
    - When setting your $JAVA_HOME path, I had to point to '"/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home" instead of "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/"
    - May not be completely necessary, but the $ANDROID_HOME may be needed and added to your $PATH
    - You may need to check/use adb to see if devices are in the database, you can run this program from here: "cd ~/Library/Android/sdk/platform-tools" then "./adb devices". It should show some devices. If not, your app can't get installed in the virtual device. At a minimum, you can connect your phone with a USB cord and then the adb will show one device that available to have your app installed. Make sure you phone has Debugging turned on and that you have the Android File Transfer app installed on your Macbook.
    - For virtual Devices, I used Genymotion (Personal License) and was able to install any device I wanted and it works much faster than the Android Emulator.
    - If you installed Genymotion and created a new virtual device, you can now run the "./adb devices" command (in the proper directory, see above) and you should see that adb can now see your virtual device you created from genymotion

    • @daanbouws1538
      @daanbouws1538 7 ปีที่แล้ว

      Joey Garcia Mac machines come with java pre installed

  • @rubyprograms8260
    @rubyprograms8260 5 ปีที่แล้ว

    Great tutorial!

  • @StandaloneDev
    @StandaloneDev 6 ปีที่แล้ว

    Great tutorial.

  • @ohospade
    @ohospade 6 ปีที่แล้ว

    Shouldn't we use binding for the methods of class?For examle, in the Component3 this.onSubmit (56:30)

  • @TemporallyImpaired
    @TemporallyImpaired 7 ปีที่แล้ว

    Thank you so much for this!

  • @khongsothorn6735
    @khongsothorn6735 7 ปีที่แล้ว

    Very helpful, Thanks you guy

  • @lebs
    @lebs 8 ปีที่แล้ว +150

    You need a website, why not do it yourself? With Traversy, you can create your own professional website.

    • @TraversyMedia
      @TraversyMedia  8 ปีที่แล้ว +55

      haha. I hate that damn ad. I wish they would use something else :(

    • @zulfikralahmudin
      @zulfikralahmudin 8 ปีที่แล้ว +2

      hahahahaha lol ... :v

    • @igormingmesquita
      @igormingmesquita 8 ปีที่แล้ว +10

      Holy shit wix from hell

    • @jimfilippou
      @jimfilippou 7 ปีที่แล้ว +4

      hahahahaahhahha made my day

    • @benweizhu7972
      @benweizhu7972 7 ปีที่แล้ว

      I feel I am going to lose my job. HAHA

  • @abdallahrizk8787
    @abdallahrizk8787 5 ปีที่แล้ว +7

    is it possible you update this course

  • @ranjitnadar5384
    @ranjitnadar5384 8 ปีที่แล้ว

    Hey buddy its amazing
    Have one question Ionic or react native ?
    Which one you prefer

    • @TraversyMedia
      @TraversyMedia  8 ปีที่แล้ว +1

      React Native for sure. Ionic apps are more of a hybrid apps. React Native is much closer to a real native app and is much less clunky. Also feels more real with TouchableHighlight, etc