Which syntactically looks right, but actually foo bar aren't destructured until after with-baz is called to wrap the component. The author corrected their code, but I was confused why they changed it!
Perhaps we should move the :wrap metadata above the args so that it's clearer what's in scope?
Ran into this in a PR last week, where someone had originally done
Which syntactically looks right, but actually
foo bar
aren't destructured until afterwith-baz
is called to wrap the component. The author corrected their code, but I was confused why they changed it!Perhaps we should move the
:wrap
metadata above the args so that it's clearer what's in scope?