Two ways I discovered to pass dynamic (arrow and non-arrow) function parameters
May 27, 2024 · 2 min read · In my attempt to understand how the clsx utility is written by looking at its source code, I found that clsx does not have function parameters declared. How is it possible to access the parameters without declaring them? clsx expects dynamic paramet...
Join discussion