React Native View - React Native

What is React Native View?

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

Use Cases

  • We can see some of the most common use cases in thebelow list.
  • When we need to wrap our elements inside container, we need to use View.
  • When we want to nest more elements inside one, then that one should be View. It can have as many children as you want.
  • When we want to style various elements, we can place them within View as they support flexbox,style property, etc.
  • Viewsupports synthetic touch events, which can be useful for several purposes.


We can use it as any other element in React Native as shown in example below.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

React Native Topics