Skip to content

re: Explain React State & Props Like I'm Five VIEW POST


Let's suppose you are an elementary school kid and you have a lunchbox. Food in your lunchbox may change or vary like apples, oranges, bagel this is Props. And your lunchbox may be empty, half-full or full. This is your State of the lunchbox.

code of conduct - report abuse