mithril-vndb/docs
Isiah Meadows 1f4b2cf49a
Deservicify core (#2458)
* De-servicify router (mostly)

Still uses the redraw service, but it no longer has an intermediate
service of its own.

Also, did a *lot* of test deduplication in this. About 30-40% of the
router service tests were already tested on the main router API instance
itself.

Bundle size decreased from 9560 to 9548 bytes min+gzip.

* Merge `m.mount` + `m.redraw`, update router

Simplifies the router and redraw mechanism, and makes it much easier to
keep predictable.

Bundle size down to 9433 bytes min+gzip, docs updated accordingly.

* Make `mithril/render` just return the `m.render` function directly.

* Deservicify `m.render`, revise `m.route`

- You now have to use `mithril/render/render` directly if you want an
  implicit redraw function. (This will likely be going away in v3.)
- Revise `m.route` to only `key` components

* Add `redraw` to `m.render`, deservicify requests

* Test error logging

* Update docs + changelog [skip ci]
2019-07-07 18:28:43 -04:00
..
animation.md Corrected the case issue of 'JavaScript' throughout the docs (#2401) 2019-04-01 08:14:38 -04:00
api.md Fix for #2423. request.data => body, params is used for querystrings (#2425) 2019-06-10 19:36:32 -04:00
autoredraw.md Docs - prioritize closure components for state (#2292) 2018-11-13 01:04:04 -05:00
buildPathname.md Streamline route/request path handling and split params + body in requests (#2361) 2019-05-29 09:28:40 -04:00
buildQueryString.md update docs, add descriptions for api methods 2016-12-02 17:51:07 -05:00
change-log.md Deservicify core (#2458) 2019-07-07 18:28:43 -04: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 Corrected the case issue of 'JavaScript' throughout the docs (#2401) 2019-04-01 08:14:38 -04:00
contributing.md Corrected the case issue of 'JavaScript' throughout the docs (#2401) 2019-04-01 08:14:38 -04: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 Correct a bunch of incorrect/outdated references (#2457) 2019-07-06 03:41:01 -04: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 Corrected the case issue of 'JavaScript' throughout the docs (#2401) 2019-04-01 08:14:38 -04:00
framework-comparison.md Mithril's grown a bit (#2454) 2019-07-05 18:55:45 -04:00
generate.js docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
hyperscript.md Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
index.md Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
installation.md Correct a bunch of incorrect/outdated references (#2457) 2019-07-06 03:41:01 -04:00
integrating-libs.md fix small typos (#2409) 2019-04-27 20:47:44 -04:00
jsonp.md Fix for #2423. request.data => body, params is used for querystrings (#2425) 2019-06-10 19:36:32 -04:00
jsx.md Correct a bunch of incorrect/outdated references (#2457) 2019-07-06 03:41:01 -04:00
keys.md Deservicify core (#2458) 2019-07-07 18:28:43 -04: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 Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
nav-guides.md Streamline route/request path handling and split params + body in requests (#2361) 2019-05-29 09:28:40 -04:00
nav-methods.md Add build/parsePathname to API TOC (#2460) 2019-07-07 16:35:02 -04:00
parsePathname.md Clarify pathname docs, follow spec with fragments (#2448) 2019-07-03 06:22:25 -04:00
parseQueryString.md Clarify pathname docs, follow spec with fragments (#2448) 2019-07-03 06:22:25 -04:00
paths.md Clarify need for escaping, to avoid confusion (#2456) 2019-07-06 02:45:12 -04:00
promise.md Fix for #2423. request.data => body, params is used for querystrings (#2425) 2019-06-10 19:36:32 -04:00
redraw.md Officially drop IE9-10 support, pull out our hacks (#2296) 2018-11-27 18:04:15 -05:00
releasing.md s/mithril/mithril@next/g, add v1 docs link [skip ci] (#2368) 2019-02-02 11:01:51 -05:00
render.md Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
request.md Track XHR replacements correctly (#2455) 2019-07-05 19:50:51 -04:00
route.md Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
signatures.md document optional url arg in request 2016-11-11 18:20:42 -05:00
simple-application.md Correct a bunch of incorrect/outdated references (#2457) 2019-07-06 03:41:01 -04:00
stream.md standardize cdn links in docs (#2416) 2019-05-27 11:58:11 -04:00
style.css Adding fallback font-family sans-serif (#2411) 2019-05-14 13:52:56 -04:00
support.md docs: latest site updates (#2126) 2018-04-20 08:36:08 -07:00
testing.md Corrected the case issue of 'JavaScript' throughout the docs (#2401) 2019-04-01 08:14:38 -04:00
trust.md Corrected the case issue of 'JavaScript' throughout the docs (#2401) 2019-04-01 08:14:38 -04:00
version.md small tweaks to docs 2016-12-01 01:49:19 -05:00
vnodes.md Corrected the case issue of 'JavaScript' throughout the docs (#2401) 2019-04-01 08:14:38 -04:00