React Native Classroom image

Rajendra  Kumar / Professional / Mobile Technology

To post your Question Join Classroom
Lesson Topics's No:-  |1 | 2|Last
Lessons:-React Native – View

React Native – View

View is the most common element in React Native. You can consider it as an equivalent of the div element used in web development.

Use Cases

Let us now see a few common use cases.

  •  When you need to wrap your elements inside the container, you can use View as a container element.
  • When you want to nest more elements inside the parent element, both parent and child can be View. It can have as many children as you want.
  •  When you want to style different elements, you can place them inside View since it supports style property, flexbox etc.
  • View also supports synthetic touch events, which can be useful for different purposes.

We already used View in our previous chapters and we will use it in almost all subsequent chapters as well. The View can be assumed as a default element in React Native. In example given below, we will nest two Views and a text.



Rajendra  Kumar

Skills    React Native

Qualifications :-
Location :-Delhi,Delhi,Delhi,India

I have more then 5 year of Mobile App Development Experience and have worked in Android Native, IOs with Swift,Ionic frameworks.



  Students (0)