Use flags in React
Prefer explicit typed hooks
useFlag remains available for
compatibility, but the type-specific hooks communicate intent and catch more
mistakes.
Render against readiness
source: "default" means no validated remote or cached config is serving the
read; the supplied fallback is authoritative.
Update targeting context
Provider props accept a stabletargetingKey plus JSON-safe attributes:
userId is a deprecated
alias for targetingKey.