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
I've written something almost exactly like this in my component lib. I started with a single controller managing multiple slots, but in the end i settled on a 1:1 controller:slot relationship, because i preferred to write code like this:
There are a few common patterns for using slots that could be nicely wrapped up in a reactive controller:
We could make a SlotController(s) to help. Example that covers the first case in this gist: https://gist.github.com/justinfagnani/a90eefb8da6bbfa4250a46732a8e5fbc
The text was updated successfully, but these errors were encountered: