trevorsg
trevorsg
SSolidJS
Created by trevorsg on 7/6/2023 in #support
Brand new going through the tutorial. Unsure of the purpose of the <Dynamic> component.
Ah, ok. That makes sense then. I think the tutorial would be better motivated if there were some props you had to pass, and maybe it would be better not to frame it as simply being a more compact form of Show and Switch. Thanks for the help!
9 replies
SSolidJS
Created by trevorsg on 7/6/2023 in #support
Brand new going through the tutorial. Unsure of the purpose of the <Dynamic> component.
So, the "react" method that I referenced at the end of my post - would that not work in Solid?
9 replies
SSolidJS
Created by trevorsg on 7/6/2023 in #support
Brand new going through the tutorial. Unsure of the purpose of the <Dynamic> component.
Sure, but { options[selected()] } seems to also do that? Like, I don't notice any functional difference with and without using <Dynamic>
9 replies