How I learned React native
About me
I am a student currently pursuing my master's degree in computer science, I am coding since a very long period of time but learned React Native just a while back.
Why I wanted to learn React native
Actually, I had this one project in my last year of graduation in which we need to develop an application, so already once developed Android application for a college project and I use iPhone so I don't what to do Android project again, but I don't have a Macbook so that I was unable to develop iOS application Xcode, so I thought why not develop an application for both Android and iOS and that's why I started to learn React Native as it gives me the power to develop an application for both Android and iOS at once.
How I approached learning React native
As I only knew the name React Native and only a Little Bit of knowledge that what it is used for like it allows you to develop an application for both Android and iOS except this I didn't know anything So at first I started doing some research how actually this framework works. Then I came to know it uses Javascript and HTML tags, I was so happy as I knew both of them already. Then I started to see how to download React Native that where I came across expo, it is a technology which allows you to develop an application using React Native and it makes life a whole lot easier. If you use expo you don't need anything else, it does a lot of stuff its own like it will generate IPA and APK files for you. You don't need Android studio or Xcode. So I downloaded expo, it was so simple all the process are on their website. Once I am done with the setup of the expo, I directly started work on my project, and it was much like making a website and whenever I encountered a problem I looked for their documentation or head over to Google or Youtube.
Challenges I faced
One of the biggest challenges I faced was this is that this is new technology and still developing so it's lacking some of the functionalities.
The second problem I faced was there not many tutorials or courses which teach you React Native and expo.
The third problem I faced was the official documentation is so messy and you won't understand anything for it.
Key takeaways
- To learn any framework, start doing a project on it.
- Don't try to solve your problem using official React Native documentation, you will get more confused.
- Just Google your error directly and see youtube and stack overflow
- Keep working, don't leave if you encounter an error try to solve it and if you're unable to solve on your own ask someone who already knows React Native.
- Coding can be one of the best things in your life.
Tips and advice
React Native is one of the best frameworks out there and I am speaking from experience, the project I was talking about got the highest marks in college.
You will find React Native hard at first, but keep working it is so fun.
The best thing about React Native is on the air update.
Final thoughts and next steps
For the next step go and make your first react-native project and share with me.
Happy coding.
P.S. This is my first post if there are any errors please forgive me.