Logo Awesome React

Awesome React

Why you need both state and props | LEARN WHILE YOU POOP 6

Both state and props are just JavaScript values that you use when rendering JSX. So why do you need both?