Forward props
How to forward props from parent to children without losing reactivity?
3 Replies
splitProps and spread
but really there's a lot of ways depending on what kind of "forwarding" you want
I want to make Button component that has all normal button attributes like onClick or class and use that <button> thru Button.tsx
so yeah you'd want splitProps, define all of the properties you don't want to pass, then spread it to the child