Yoshua Wuyts
3153fcb26c
router: suppress re-render on same state
...
- views will no longer be re-rendered if the state hasn't changed
- `oldState` is passed as the final argument in a view. E.g. `params,
state, send, oldState`. This is mostly because it will usually only be
used for optimizing - changing the order would be a breaking change
:(
2016-05-31 12:30:40 +02:00
Yoshua Wuyts
60665f2a71
toString: support rehydration
2016-05-24 02:10:17 +09:00
Tim Wisniewski
bc78589567
Use opts.href instead of opts.history
...
Per [documentation](https://github.com/yoshuawuyts/choo#tree--appstartopts )
2016-05-23 07:35:24 -04:00
Yoshua Wuyts
dc840059a4
models: fix state namespace
2016-05-23 14:40:52 +09:00
Yoshua Wuyts
0cc0caa8e1
examples/http: update for ns
2016-05-23 13:44:32 +09:00
Yoshua Wuyts
300b6325a9
examples: update mailbox
2016-05-23 04:00:29 +09:00
Yoshua Wuyts
24b9be7c8d
models: sturdify namespaces
2016-05-23 03:32:14 +09:00
Yoshua Wuyts
0be2337605
docs: improve examples & concepts
2016-05-23 03:32:14 +09:00
Yoshua Wuyts
4084775c8c
choo: add server rendering
2016-05-22 02:06:46 +09:00
Yoshua Wuyts
e8f327dbb0
choo: fix subs
2016-05-16 04:09:02 +07:00
Yoshua Wuyts
acd834a8b1
choo: update internal fn name
2016-05-16 03:37:19 +07:00
Yoshua Wuyts
922c69a0de
choo: add subscriptions
2016-05-16 03:37:06 +07:00
Yoshua Wuyts
5d3cb47a99
choo: fix model trigger ordering
2016-05-13 12:23:25 +07:00
Yoshua Wuyts
53a1e6026a
choo: add href / history handling
2016-05-12 14:45:20 +07:00
Yoshua Wuyts
5f68a8bf3a
choo: fix updates
2016-05-11 14:56:18 +07:00
Yoshua Wuyts
48d43eaf09
choo: add initial render
2016-05-11 13:51:17 +07:00
Yoshua Wuyts
c28d37ac84
.
2016-05-11 01:09:53 +07:00