4 ms·
What do you mean by a component that takes an arbitrary node to render? Do you mean a component that renders out to a node? Or a component that takes in a nod
by spartanatreyu 4y ago
What do you mean by a component that takes an arbitrary node to render?
Do you mean a component that renders out to a node?
Or a component that takes in a node external to the component so it can render to that external node (as opposed to or in conjunction with a node inside the component)?
If the first, isn't this just the job of the component's <template> or jsx?
If the second, isn't this what slots are for?