Jan 1, 1970January 1st, 1970 · 1 minute read · tweet
Where open/closed components shine
A few real-world examples of the open/closed pattern in action + awesome libraries that follow it.
"The open/closed component" series
The open/closed pattern shines in a few different scenarios. A very cool one is when you want to compose components together, like this:
jsx
function App() {return ()}