Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 395 Bytes

Reading-4-31.md

File metadata and controls

9 lines (5 loc) · 395 Bytes

Context API

  1. Context allows you to share values across an app without having to pass them down through the entire component tree.

  2. Context it useful for information that many or all components need, such as user authentication, theme, or language.

  3. Using context makes component reuse more difficult.