mithril-vndb/docs
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.md Update onbeforeremove animation example to use animationend event 2018-06-28 23:00:18 +02:00
api.md Remove m.prop + m.withAttr (#2317) 2018-11-30 20:41:24 -05:00
autoredraw.md Docs - prioritize closure components for state (#2292) 2018-11-13 01:04:04 -05:00
buildQueryString.md update docs, add descriptions for api methods 2016-12-02 17:51:07 -05:00
change-log.md Remove m.prop + m.withAttr (#2317) 2018-11-30 20:41:24 -05:00
CNAME Docs auto-push to gh-pages branch 2017-03-07 22:07:55 -08:00
code-of-conduct.md docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
components.md Remove m.prop + m.withAttr (#2317) 2018-11-30 20:41:24 -05:00
contributing.md Officially drop IE9-10 support, pull out our hacks (#2296) 2018-11-27 18:04:15 -05:00
credits.md #1609 fix lifecycle hooks in children of recycled keyed vnode 2017-02-09 08:31:08 -05:00
css.md docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
es6.md Use manual path resolution in webpack.config.js 2017-06-26 16:11:57 -06:00
examples.md adding stephen hoyers how-to-mithril 2018-09-19 16:38:11 -04:00
favicon.ico docs: Add favicon (#1839) 2017-05-02 09:34:13 -07:00
favicon.png docs: Add favicon (#1839) 2017-05-02 09:34:13 -07:00
fragment.md API docs signature fixes for route resolver, jsonp, fragment 2017-02-11 21:31:10 -05:00
framework-comparison.md chore: Update repo references (#1834) 2017-05-02 09:24:12 -07:00
generate.js docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
hyperscript.md adding missing anchor (#2305) 2018-11-19 02:34:20 -05:00
index.md Officially drop IE9-10 support, pull out our hacks (#2296) 2018-11-27 18:04:15 -05:00
installation.md Fix #2210 (#2259) 2018-10-26 16:42:01 -04:00
integrating-libs.md Update/improve 3rd party integration docs (#2306) 2018-11-21 15:45:42 -05:00
jsonp.md API docs signature fixes for route resolver, jsonp, fragment 2017-02-11 21:31:10 -05:00
jsx.md docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
keys.md docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
layout.html docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
learning-mithril.md docs: latest site updates (#2126) 2018-04-20 08:36:08 -07:00
lifecycle-methods.md Docs - prioritize closure components for state (#2292) 2018-11-13 01:04:04 -05:00
lint.js Officially drop IE9-10 support, pull out our hacks (#2296) 2018-11-27 18:04:15 -05:00
logo.svg prep docs 2017-01-30 10:43:22 -05:00
mount.md docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
nav-guides.md docs: latest site updates (#2126) 2018-04-20 08:36:08 -07:00
nav-methods.md Remove m.prop + m.withAttr (#2317) 2018-11-30 20:41:24 -05:00
parseQueryString.md update docs, add descriptions for api methods 2016-12-02 17:51:07 -05:00
promise.md docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
redraw.md Officially drop IE9-10 support, pull out our hacks (#2296) 2018-11-27 18:04:15 -05:00
releasing.md docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
render.md docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
request.md Fix #1908, document fields. [skip ci] (#2314) 2018-11-27 18:02:08 -05:00
route.md Remove m.prop + m.withAttr (#2317) 2018-11-30 20:41:24 -05:00
signatures.md document optional url arg in request 2016-11-11 18:20:42 -05:00
simple-application.md Remove m.prop + m.withAttr (#2317) 2018-11-30 20:41:24 -05:00
stream.md Remove m.prop + m.withAttr (#2317) 2018-11-30 20:41:24 -05:00
style.css docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
support.md docs: latest site updates (#2126) 2018-04-20 08:36:08 -07:00
testing.md docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
trust.md docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
version.md small tweaks to docs 2016-12-01 01:49:19 -05:00
vnodes.md Fix parentheses in link (#2300) 2018-11-15 12:34:02 -05:00