Compound Components in React Using the Context API

added by JavaScript Kicks
12/7/2018 8:43:42 AM

806 Views

Compound components in React allow you to create components with some form of connected state that's managed amongst themselves. A good example is the Form component in Semantic UI React. To see how we can implement compound components in a real-life React application, we'll build a compound (multi-part) form for login and sign up.


0 comments