-
Notifications
You must be signed in to change notification settings - Fork 266
Closed
Description
Idea
just like we have arrow functions in Javascript to define functions and especially callbacks, a similar concept could be implemented for components.
Why
arrow functions are much cleaner to read and they make it much more natural to think of them as "first-class citizen", pass them around in variables and as callbacks.
Propsed syntax:
let Button = () -> {
...
}or
let Button = () ==> {
...
}or any other variation on this
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels