How can I set a style based on reactive state with fallback to props?
I want to change color of a button when active and return back to default value when not active:
https://playground.solidjs.com/anonymous/c98af79a-5755-4edd-a7a4-f91d60c3ae02
How can I make the
https://playground.solidjs.com/anonymous/c98af79a-5755-4edd-a7a4-f91d60c3ae02
How can I make the
style value inside the Internal component reactive?Quickly discover what the solid compiler will generate from your JSX template
