How To Code Your First Mobile App Using React Native

  Рет қаралды 120,110

Tyler Potts

Tyler Potts

5 жыл бұрын

Today we start off with the basics of React Native, a javascript native mobile app compiler. We look into components, events, props and passing them and more.
Day 63 #100DaysOfCode
// JOIN THE DISCORD
/ discord
// MY GEAR FOR CODING AND KZbin
Blue Yeti Microphone: amzn.to/3jr3l7T
Microphone Stand: amzn.to/35B9LMN
Chair: amzn.to/3dWds3F
Thunderbolt Dock: amzn.to/3osBF6u
Monitor: amzn.to/37I8KoR
All of these products I own and have tested!
Patreon: / tyler_potts_
Important Links
Github Repository: github.com/TylerPottsDev/reac...
Twitter: / tyler_potts_
We cover:
React Native
Components
Native Components
Input (TextInput)
Lists (FlatList)
If you read down here then HELLO! :)
#appdev #reactnative #javascript

Пікірлер: 70
@wheniamnotworking9221
@wheniamnotworking9221 5 жыл бұрын
My first time build apps with react native using your tutorial. It's a bit different in my laptop but the logic is still same. Thank you very much.
@TylerPotts
@TylerPotts 5 жыл бұрын
Awesome news!
@Monster33336
@Monster33336 5 жыл бұрын
I'm moving on from native apps to React. So far it's been a good experience.
@rgenericson5361
@rgenericson5361 4 жыл бұрын
Two years with Swift and iOS, I'm ready to test drive RN. I like React for web anyway
@krishnaraghav392
@krishnaraghav392 4 жыл бұрын
thank you so much Tyler! loved it completely!
@ileaderx
@ileaderx 4 жыл бұрын
Great job i've learned a Lot THANK YOU
@Emily-fm7pt
@Emily-fm7pt 4 жыл бұрын
super applies the constructor from the base class (the one your extending)
@mattb1498
@mattb1498 4 жыл бұрын
learning a lot from this video, thanks; how do you display the console log view?
@rgenericson5361
@rgenericson5361 4 жыл бұрын
Cool! I'm going to give it a whirl for the 1st time!
@TylerPotts
@TylerPotts 4 жыл бұрын
GO FOR IT!
@Unitedclipsofficial
@Unitedclipsofficial 4 жыл бұрын
I tried downloading the code and importing, whenever I go to open the code on simulator it says the app is expo outdated, how can i fix this
@monishn2928
@monishn2928 5 жыл бұрын
hi is is possible to use sqlite by initiating the react native project with EXPO
@abhijithcs3196
@abhijithcs3196 4 жыл бұрын
help.... error undefined unable to resolve module./components/header' from 'app.js:' (np :i'm a beginner)
@vivekshah2867
@vivekshah2867 3 жыл бұрын
Thanks for this video
@TylerPotts
@TylerPotts 3 жыл бұрын
Most welcome
@axesspwns
@axesspwns 4 жыл бұрын
33:17 Can someone clarify how function works particular especially passing it to a component such as textChange in App.js to onChangeText in InputBar.js? Why those two lines of code in the two files?
@Patrick-hx9es
@Patrick-hx9es 4 жыл бұрын
wHy NoT?
@SquashedBugGames
@SquashedBugGames 3 жыл бұрын
the super() in your constructor, calls functions on a parent object.
@izharhussain8034
@izharhussain8034 2 жыл бұрын
Which color theme you are using for visual studio code??
@setupdoantunes
@setupdoantunes 5 жыл бұрын
what your walppaper ?
@con_boy
@con_boy 3 жыл бұрын
12:04 super is simply a call to the parent constructor class, which is mandated by the logic parent class, (if I've not been run bomb me) because you overloaded it but you still need to "construct" the actual App() class not just override it
@adiitibaev8055
@adiitibaev8055 4 жыл бұрын
what programming language is used to create an e-wallet?
@kshitijvengurlekar1192
@kshitijvengurlekar1192 5 жыл бұрын
After a long time
@TylerPotts
@TylerPotts 5 жыл бұрын
Yes I have returned and I have videos lined up!!! :D
@islam6916
@islam6916 4 жыл бұрын
thank you .
@TylerPotts
@TylerPotts 4 жыл бұрын
No, thank you.
@peterkim9696
@peterkim9696 3 жыл бұрын
How much time do I need to master react native?
@samanthang5258
@samanthang5258 5 жыл бұрын
love that mid sentence yawn 7:57
@TylerPotts
@TylerPotts 5 жыл бұрын
Whoops new baby = Yawning Mid Video 😂
@myth1126
@myth1126 4 жыл бұрын
Just do type: _sudo npm install -g expo-cli_ if it doesn't install and says *ERROR*
@hassanzafar3159
@hassanzafar3159 4 жыл бұрын
39:53 can anyone tell me why my vs code not giving me hints ie autofill like keyextractor
@odhynthooc648
@odhynthooc648 3 жыл бұрын
install js/ts extention
@hardikdesai9211
@hardikdesai9211 5 жыл бұрын
Hello Tyler Potts, is there any way to update existing todo item ?
@TylerPotts
@TylerPotts 5 жыл бұрын
Yes, but that is quite difficult to explain over comment system! 😁 Maybe I will cover it in a different video
@hardikdesai9211
@hardikdesai9211 5 жыл бұрын
@@TylerPotts Looking forward to your video.
@hrd7787
@hrd7787 2 жыл бұрын
Do you have any app written in Javascript? I am ready to purchase
@deadbeef6657
@deadbeef6657 4 жыл бұрын
Im just trying to find out the steps to make an app for mobile and have it on my phone
@TheGamerzXChannel
@TheGamerzXChannel 4 жыл бұрын
Do you have a solution for shadows not showing up on android?
@TylerPotts
@TylerPotts 4 жыл бұрын
Sorry, unfortunately not.
@jasonbourne8566
@jasonbourne8566 5 жыл бұрын
I believe that super() calls the parent constructor.. don't know who's the parent but actually the basic functionality of super is to call the parent!
@TylerPotts
@TylerPotts 5 жыл бұрын
Nice one! 😁
@thesavagesalmon9464
@thesavagesalmon9464 5 жыл бұрын
@@TylerPotts It calls the React.Component Ctor
@RAJesh-yx6ye
@RAJesh-yx6ye 4 жыл бұрын
i want to declare if the inputfield is empty(blank) means no title then dont' addTodo so can u help me
@RAJesh-yx6ye
@RAJesh-yx6ye 4 жыл бұрын
i got it by doing if (this.state.todoInput != '') { //code }
@meowish952
@meowish952 5 жыл бұрын
Can you also make a video that starts with react native cli? Not expo?
@TylerPotts
@TylerPotts 5 жыл бұрын
I will look into it for you. :D
@meowish952
@meowish952 5 жыл бұрын
@@TylerPotts Woah. Thank you very much!
@papayaspice1155
@papayaspice1155 5 жыл бұрын
@@TylerPotts Please do!
@eliezaraket5235
@eliezaraket5235 4 жыл бұрын
Isn't the same code that u did in expo for react native cli...? If I wanna walk on same steps but with react native cli with Android emulator doesn't work?
@sensej20000
@sensej20000 4 жыл бұрын
Can you also do the with android Phone, seeing instant result?
@TylerPotts
@TylerPotts 4 жыл бұрын
Yes if you setup your environment to use Android
@sensej20000
@sensej20000 4 жыл бұрын
Thank you
@lexussedan5341
@lexussedan5341 4 жыл бұрын
khi tôi chạy " react-native run-android" thì nó báo "comand "run-android" unrecognized . Bạn có thể giúp tôi sửa được không?
@DC224gb64
@DC224gb64 4 жыл бұрын
Firstly you have to be in your project's folder. Secondly, run npm install -g react-native-cli. After that you go react-native init [name of your test app, eg. test]. Then, react-native run-android. You should have an emulator or your phone connected to your pc.
@rkleib
@rkleib 4 жыл бұрын
in android, button color change the background color, not the text. been trying to make both in ios and android looks exactly the same but it's a pain in the ass
@rkleib
@rkleib 4 жыл бұрын
nevermind. fixed it with touchable opacity instead.
@BeardedSmith
@BeardedSmith 3 жыл бұрын
"Every time you update the state, it'll call componentDidMount again and that is your cycle", well no. ComponentDidMount is only called once after the initial render. In it, we often do data-calls and set data in the state. If what you were saying was true, it would endlessly re-render. Good tutorial overall!
@apost9019
@apost9019 5 жыл бұрын
I can't get expo to install on my Ubuntu.. any help?
@TylerPotts
@TylerPotts 5 жыл бұрын
Sorry, in not very good with Linux OS but if you Google your error or issue I hope there will be something to help you out. Sorry I couldn't help.
@samueldantas6817
@samueldantas6817 5 жыл бұрын
The problem that I had was NPM global ownership issues. Idk if you already solve it but if not we are here to help ;)
@apost9019
@apost9019 5 жыл бұрын
@@samueldantas6817 still haven't fixed it and since I can't install expo I gave up on react native but if I manage to install expo I'll give it a try again
@dennisidowu9059
@dennisidowu9059 5 жыл бұрын
@@samueldantas6817 Im having issues with the expo installation, it keeps installing the older version 2.20.3 instead of 2.21.2 Ive tried uninstalling and reinstalling as well as brew updating, upgrading and checking for outdated packages
@TheLocedo
@TheLocedo 4 жыл бұрын
Hi, im new in react native and i got an error i cant fix. When i try to add a new todo, it gives me this error. " todos.unshift is not a function. (In 'todos.unshift( { id: todos.length +1, title: this.state.todoInput, done: false })', 'todos.unshift' is undefined) " Please help me !!
@TylerPotts
@TylerPotts 4 жыл бұрын
Hmm, I'd have to see source code to help.
@I_Unintentionally_Morph
@I_Unintentionally_Morph 3 жыл бұрын
Can I make a mobile wallet with this
@filiphajduk4025
@filiphajduk4025 3 жыл бұрын
36:49 xDDDD
@DJgetarealjob
@DJgetarealjob 4 жыл бұрын
this guy needs a nap
@TylerPotts
@TylerPotts 4 жыл бұрын
Please, I really need one
@NewToneMusicOfficial
@NewToneMusicOfficial 3 жыл бұрын
This is not beginner friendly
React Native Tutorial for Beginners - Build a React Native App
2:06:30
Programming with Mosh
Рет қаралды 3 МЛН
React Native Crash Course
51:28
Traversy Media
Рет қаралды 691 М.
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 18 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
I built a chat app in 7 minutes with React & Firebase
8:53
Fireship
Рет қаралды 1,3 МЛН
Getting Started with React Native
24:51
DesignCode
Рет қаралды 115 М.
Record Your MIC with JavaScript
13:59
Tyler Potts
Рет қаралды 8 М.
👉 Build your first React Native app - Todo List Tutorial Part 1
14:20
Build a Weather App in React JS | React JS beginner Tutorial
33:04
Tyler Potts
Рет қаралды 236 М.
Build a React Native Chat App with Firebase in 20 MINUTES!
18:19
DesignIntoCode
Рет қаралды 145 М.
Build an Expense Tracker | React Hooks & Context API
49:41
Traversy Media
Рет қаралды 860 М.