Commit graph

18 commits

Author SHA1 Message Date
hqproto
a671da246d Update standalone usage 2022-02-09 20:38:56 +01:00
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
Ayush Jain
982fdf5737 Corrected the case issue of 'JavaScript' throughout the docs (#2401)
* corrected JavaScript spelling
2019-04-01 08:14:38 -04:00
Pat Cavit
6fb77b7771
docs: update with latest fixes (#2116) 2018-04-12 00:11:11 -07:00
Leo Horie
d397e66e03 lint links 2017-01-08 21:29:26 -05:00
Leo Horie
cdb9017a72 update docs, add descriptions for api methods 2016-12-02 17:51:07 -05:00
Leo Horie
87dcbbf5c7 small tweaks to docs 2016-12-01 01:49:19 -05:00
Leo Horie
9a3551c575 add note about synchronicity 2016-11-15 10:16:01 -05:00
Leo Horie
7f8363560e Merge remote-tracking branch 'origin/rewrite' into rewrite 2016-08-10 09:13:19 -04:00
Leo Horie
93bd1cd3bf make render api doc more explicit about return value 2016-08-10 09:13:17 -04:00
suren shrestha
354b1a10c1 Update render.md 2016-08-04 14:51:14 +05:45
Leo Horie
8bc47632ee some more docs 2016-07-22 00:06:59 -04:00
Leo Horie
c196b8b475 fix loading/error example, beef up render docs 2016-07-12 00:34:56 -04:00
Leo Horie
7318a0d88b update docs re: component anti-patterns, lint docs 2016-07-07 13:23:16 -04:00
Leo Horie
bce2abbffd Merge remote-tracking branch 'origin/rewrite' into rewrite
Conflicts:
	docs/keys.md
	docs/signatures.md
	docs/v1.x-migration.md
	index.js
	ospec/bin/ospec.cmd
	request/request.js
	request/tests/test-xhr.js
	util/prop.js
	util/tests/index.html
	util/tests/test-prop.js
2016-06-20 09:34:14 -04:00
Leo Horie
ce0c30a235 update docs 2016-06-20 09:22:00 -04:00
impinball
b4fb21475c Add editorconfig, resolve differences
This includes newlines, tabs, among other things.
2016-06-18 03:22:12 -04:00
Leo Horie
e35fc79f09 mroe docs 2016-05-25 02:01:27 -04:00