React Native is a popular open-source framework to create native Android iOS apps. It is based on the JavaScript library React. So we write everything in JavaScript in React Native app.
So you should understand some basic knowledge of JavaScript and React to learn React Native. You can find a lot of tutorials online to learn them.
Basics of React Native
After creating your first app using Expo go or React Native CLI. You should understand some of the basic concepts of React Native. Which may consist following topics:-
- Components: A component is a self-contained module that renders specific functionality. Each component in React Native has its own purpose. You need to combine components to build an App structure.
- JSX: Like React JS you'll write code in JSX in React Native. But you'll not write HTML tags. Instead, there are in-building components to render.
- Props: You should also have knowledge of how to pass data from one component to another. Props are short properties and they are used to pass data from one component to another component.
- State: State is an object which represents the current state of the component. The state could be updated over time. It is also an important concept in react native.
- Styling: Styling in React Native is different than React. It is because it doesn't understand CSS so you have to give style using JavaScript. Styling is also one of the important factors in apps to build UI so you should understand the concept.
- Layout: React Native uses Flexbox to give layout to apps. You should have knowledge of the layout of apps so it is important.
- APIs and Modules: You'll get a lot of modules and APIs in React Native to build apps fast. But you don't have to understand all of them but you should have some modules and APIs knowledge.
conclusion: There could be other concepts you need to learn and less important. If you have some basic knowledge of React JS and JavaScript it's not a big deal to learn React Native.
Comments
Post a Comment