Web / React native Interview questions
What is state in React-native components?
State is useful for handling data that changes over time or that comes from user interaction. The state tracks your component variables and acts as private storage for your component.
Use props to configure a component when it renders. Use state to keep track of any component data that you expect to change over time.
More Related questions...