It took me a while to find the culprit of why my component wasn't working and it was as simple as my "component" prop overriding the component prop passed to SolidJS' Dynamic component.
Either this, or we should pass the Dynamic component's props as the Polymorphic props in TypeScript.
It took me a while to find the culprit of why my component wasn't working and it was as simple as my "component" prop overriding the component prop passed to SolidJS' Dynamic component.
Either this, or we should pass the Dynamic component's props as the Polymorphic props in TypeScript.