javascript-react-patterns
javascript-react-patterns copied to clipboard
Update React compound pattern example
In the second implementation of the compound pattern, since we are using the React.Cuhildren.map and React.cloneElement, I think we won't need to use context anymore and all the values are accessible by props.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| fm-workshop-2 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 20, 2023 1:12pm |