Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,796,262 members, 6,679,986 topics. Date: Tuesday, 18 January 2022 at 06:27 AM

React Native Props Example - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / React Native Props Example (613 Views)

Understanding The Concepts Of View, State, Props, Lifecycle & Component In React / React Native Picker Spinner Dropdown Menu List Example - Android / React Native Simple Custom Gridview Layout Example Android (2) (3) (4)

(1) (Reply)

React Native Props Example by skptricks: 6:35pm On Mar 04, 2019
React Native Props Example

React and React Native is component based. We divide the complex UI into basic components. After developing the basic components we again adds all these components to create a complex UI which also called as complex component. React and React Native controls the data flow in the components with state and props. The data in states and props are used to render the Component with dynamic data.

Understanding ReactJS Props :
In React we use props to send data to components.
In React every component is treated as a pure javascript function.
In React props are equivalent to parameters of a pure javascript function.
Props are immutable. Because these are developed in the concept of pure functions. In pure functions we cannot change the data of parameters. So, also cannot change the data of a prop in React.


(1) (Reply)

View On-device Files With Device File Explorer / Free And Fast Open Vpn Account. / Vacancy: Affiliate Marketer Needed

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2022 Oluwaseun Osewa. All rights reserved. See How To Advertise. 22
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.