#6 - state and setState in react native | REACT NATIVE WITH EXPO TUTORIALS IN HINDI

Опубликовано: 12 Октябрь 2024
на канале: CODERS NEVER QUIT
26,242
247

This is part 6 of my react native with expo series in hindi and in this video we will learn about state and setState in react native . react native tutorials in hindi

props (short for “properties”) and state are both plain JavaScript objects. While both hold information that influences the output of render, they are different in one important way: props get passed to the component (similar to function parameters) whereas state is managed within the component (similar to variables declared within a function).

setState() schedules an update to a component’s state object. When state changes, the component responds by re-rendering.

connect with me on -
facebook :  / mukesh.phulwani.5  
instagram :   / mukeshphulwani66  
linkedin:   / mukesh-phulwani-681450152  
github: https://github.com/mukeshphulwani66