React Fundamentals: Props vs State

1 · Kent C. Dodds · July 8, 2019, 11:17 p.m.
Let's compare props and state. Here's a definition of each: "props" (short for "properties") is an object of arbitrary inputs a React function component accepts as the first argument. "state" is data that changes over the lifetime of a specific…...