Marco Guaspari Worms
Marco Guaspari Worms
Suggestion: curry all functions by default (https://github.com/lstrojny/functional-php/issues/136) and leave the data for the last argument (much like ramda, they really did get that right) Also, for the `value, index, collection`...
Total, seria massa uma página tipo a do ejs http://ejs.co/ Exemplos de uso em libs modernas da até pra fazer (react, vue, angular 1.x e 2+) Não entendi a parte...
só deixando aqui pq achei massa https://github.com/gatsbyjs/gatsby
Maybe accepting an array on the "when" parameter is a nice solution. We could make aliases for "combo" keys like ctrl, shift, alt, etc.
Ok, so, talking to @grvcoelho we agreed on a syntax: `when="w"`=> does what it does today `when={["w", "e", "r"]}` => 'w', 'e', and 'r' would all trigger that action `when="shift+w"`...
I thought about the comma-separated string but I rather use the primitive types when they fit the needs, so if it's a list than it probably makes sense to use...
Agreed, we'll review this. Thanks for your input!
I don't like `exec` nor `execute`. I do like `run`, `trigger` or `action`, but I think `run` is the most declarative option.
@justingreenberg Thats really awesome, it feels nice to use but I agree with Derek, I think it's better to declare in a "do" parameter so we don't use child props...
Is there any problem if we just leave it as `do`? (other than screwing up the color highlighter) :laughing: