Skip to content

Details

Let's take a look at creating components with open "slots" that accept children as props. There are many instances where your components won't know what their children will look like, and an extensible design pattern can lend a helping hand. Using the slotting pattern, we can handle a wide variety of content, while reducing markup and boilerplate added to new pages. What does this work look like, and when is the effort worthwhile?

Members are also interested in