react19-patterns
Installation
SKILL.md
React 19 Patterns
Overview
This project uses React 19 with the React Compiler enabled. This changes how you should write React code, especially around Context and optimization.
React 19 Context Pattern
Use Shorthand Syntax
React 19 introduces shorthand syntax for Context providers.
✅ Correct (React 19):
<MyContext value={someValue}>
<ChildComponents />
</MyContext>