-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Components that don't implement any callbacks or have state should be implemented somehow. Not exactly sure how though. Not sure how styles would work with this.
Some sketches:
:ruby
Greeter = StatelessComponent.define <<~HAML
%p Hello #{$name}
:css
p { font-weight: bold; }
HAML
def greet(name) = <<~HAML
%p Hello #{name}
HAML
%div
%Greeter(name="Foo")
%Greeter(name="Bar")
= greet("Foo")Metadata
Metadata
Assignees
Labels
No labels