S
SolidJS2y ago
walid

Components moved away from DOM

1 Reply
REEEEE
REEEEE2y ago
I think you'll have to make the content for the operations be a function and then use Dynamic in the For
const operations = [
{content: () => <AiMinusIconThing />, ... },
{content: () => 2, ... },
]
const operations = [
{content: () => <AiMinusIconThing />, ... },
{content: () => 2, ... },
]
then in the For
<Dynamic component={operation.content} />
<Dynamic component={operation.content} />

Did you find this page helpful?