Aller au contenu principal

Choose props, state, or derived value

Choose the right home for a UI value: props, local state, or derived calculation.

react-basics5 min read

The dashboard receives orders from a parent. A local search box changes query. The UI shows a filtered table and a count. Where should visibleOrders live?

Read the full lesson

Sign up free: one personalized lesson every day, matched to your role and goals.

← Back to library

Nous contacter