Closed russelgal closed 1 year ago
it looks like the nested component call is not supported
const Parent = $component(({ ...rest }): JSX.Element => { const Child = $component(({ ...rest }): JSX.Element => { return <>Child</>; }); return ( <> <Child /> </> ); });
[plugin:solid-labels] Unexpected 'CallExpression' (Expected: Identifier | ObjectPattern | ArrayPattern) (This is an error on an internal node. Probably an internal error. Location has been estimated.)
I've tested this myself and it seems to be working so I'm closing this.
it looks like the nested component call is not supported
[plugin:solid-labels] Unexpected 'CallExpression' (Expected: Identifier | ObjectPattern | ArrayPattern) (This is an error on an internal node. Probably an internal error. Location has been estimated.)