Nick Saunders
Blog
Projects
About
Blog
Jul 31, 2023
15 min read
Function asChild
The pitfalls of polymorphic components, and how I use a time-tested React design pattern to overcome them