You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Over yonder in the Threlte repo we recently replaced Slots with Snippets in our next branch. One observation we had following this was about the increased verbosity surrounding slot props.
A large amount of our snippet usage seems to be passing props to child components using the default children snippet. It would be nice if a shorthand existed to reduce the verbosity a bit and make it quicker to read. Something like:
Describe the problem
Over yonder in the Threlte repo we recently replaced Slots with Snippets in our
next
branch. One observation we had following this was about the increased verbosity surrounding slot props.Stuff like this:
Turned into this:
Describe the proposed solution
A large amount of our snippet usage seems to be passing props to child components using the default
children
snippet. It would be nice if a shorthand existed to reduce the verbosity a bit and make it quicker to read. Something like:Importance
nice to have
The text was updated successfully, but these errors were encountered: