TemplateKit
TemplateKit copied to clipboard
Allow styling components based on their current state
Right now, there's no way to specify a given set of styles that should be applied to a component when that component's state changes. This has to do with the fact that styles are passed as properties, and an internal state change is insulated within a component. This means that state may change, and the parent component, where the styles are defined, may not know about it.