mithril-vndb/examples
Isiah Meadows 26b8d994ce
Remove m.prop + m.withAttr (#2317)
* Remove `m.prop` + `m.withAttr`

- For many uses, `m.withAttr` is *more* verbose than just directly using
  an event handler
- If you're using it with a bound callback, you're literally wasting a
  single character in the human readable version (and you're *saving*
  them in the minified output).
- It sometimes obscures your intent, if overused.
- Functions are easier to compress than `m.withAttr`, resulting in
  slightly smaller bundles.
- `m.withAttr` is overused anyways.
- `m.prop` is basically useless without `m.withAttr`, and the API
  doesn't have the same benefits it had with 0.2.x.

* Update changelog
2018-11-30 20:41:24 -05:00
..
animation clean up repo 2017-01-30 11:18:47 -05:00
dbmonster use animation best practices in dbmon 2016-12-02 20:44:03 -05:00
editor Remove m.prop + m.withAttr (#2317) 2018-11-30 20:41:24 -05:00
svg simplify scripts in examples 2016-11-16 00:09:52 -05:00
threaditjs change m.request return value from stream to promise 2016-11-13 22:44:22 -05:00
todomvc Prevent create empty item 2017-05-01 13:27:22 +01:00