How do I load a component with children attached to it, like Tabs.Panels?
Here's the export on the component:
export let Tab = Object.assign(TabRoot, { Group: Tabs, List, Panels, Panel })
Also, probably a dumb question, but if I import a component that imports huge_node_module and then another that also imports the same huge_node_module, will huge_node_module be loaded twice?
💬 Questions and Help
How do I load a component with children attached to it, like
Tabs.Panels
?Here's the export on the component:
export let Tab = Object.assign(TabRoot, { Group: Tabs, List, Panels, Panel })
Also, probably a dumb question, but if I import a component that imports huge_node_module and then another that also imports the same huge_node_module, will huge_node_module be loaded twice?