AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
React - One Way Data Flow
Reat has had this long standing ide of one way data flow. And so just to break it down a little bit, you said, we have props. The a component is a is a function. So it takes in these props, and those props determine what is kind of shown i the component. And then you have a state, which allows changes within the component to be persisted for the duration of, i guess, for the time the person is on the page.