javascript-react-patterns icon indicating copy to clipboard operation
javascript-react-patterns copied to clipboard

Update React compound pattern example

Open saeedShamloo opened this issue 2 years ago • 1 comments

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.

saeedShamloo avatar Aug 20 '23 13:08 saeedShamloo

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

vercel[bot] avatar Aug 20 '23 13:08 vercel[bot]