2 ms·
I have no problem with abbreviations over a limited scope but looking at this code[1] I can't figure out what the author meant by 'm' and that makes me wonder i
by jackewiehose 7y ago
I have no problem with abbreviations over a limited scope but
looking at this code[1] I can't figure out what the author meant
by 'm' and that makes me wonder if the author does know what he's
doing.
[1]: https://github.com/leontrolski/leontrolski.github.io/blob/master/33-line-react-with-comments.js https://github.com/leontrolski/leontrolski.github.io/blob/ma...
edit: Ok, I should have read the article first. It's probably for https://mithril.js.org/ https://mithril.js.org/
- leontrolski 7y agoUsing m or h as VDOM constructors are mithril/hyperscript-isms, I guess that's not obvious if you not worked with those or similar libraries, sorry!
- jackewiehose 7y agoyep, I figured that out by reading the actual article instead of straight jumping to the source and my edit was too slow. I'm sorry ;-)