Bendik Aagaard Lynghaug and Claude Fable 5
870aa79668
test+docs: full-app browser integration test and the isomorphic counter example
...
The integration test runs the counter through the real browser path in
happy-dom: start(), store events, raf-batched morph, DOM click handlers,
emit coalescing. examples/counter is the Phase 2 exit criterion: one app
module mounted zero-build in a browser via import map and string-rendered
by node examples/counter/render.js.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_014NgfSjHE11oFpoSnLVKLXd
2026-09-08 16:56:54 +02:00
Yoshua Wuyts
8e8e870d45
implement choo v5 API ( #425 )
...
* implement choo v5 API
* fix tests
* 5.0.0-3
* 4kb now
* bump nanomorph
* 5.0.0-4
* fix missing deps stuff
* 5.0.0-5
* fix travis
* fixup! oops standard
* chooexpose
* fix state passing
* fixup! update example
* fixup! incorporate feedback
* fixup! more docs
* fixup! even more docs
2017-03-21 03:00:45 +01:00
Haroen Viaene
6fc525fe05
update name in mailbox example ( #382 )
2017-02-07 14:02:59 +01:00
Yoshua Wuyts
a7916ec3f9
[major] choo v4 ( #352 )
...
* location: change url on location:setLocation
- [ ] don't break hashing
- [ ] allow not changing the url
fixup! move fns around
fixup! add search string
* app.start: clean
* walk: add
* location: update arg calls
* fixup! location: update
* uri-wrap: fix thunking
* router: update to latest sheet-router (#239 )
* router: update to latest sheet-router
* tests: fix for latest version
* tests: fix SSR
* tests: fix history
* tests: spruce up
* docs: update example
* examples: update
* deps: bump sheet-router
* 4.0.0-0
* chore(changelog): 4.0.0 (#211 )
* feat(api:) arg order (#268 )
* s/data, state/state, data/
* feat(api): swap arguments
* fix(href): fix routing (#271 )
* feat(http): remove (#269 )
* feat(router): enable hash routing (#273 )
* deps: fix mount
* 4.0.0-1
* feat(mount): copy {script,link} tags
* 4.0.0-2
* fix(mount): forEach -> for
Lol can't use forEach
* fix(router): use state.location.href (#282 )
* fix(mount): use deep node clone
* 4.0.0-3
* fix(deps): remove hash-match
* 4.0.0-4
* fix(mount): return node
* 4.0.0-5
* fix(router): check if a hash is a valid selector (#339 )
* 4.0.0-6
* fix(router): pass params on newstate (#343 )
* 4.0.0-7
* feat(docs): update for 4.0.0 (#320 )
* feat(docs): update for 4.0.0
* docs: update router example in readme (#337 )
* chore(changelog): update for v4 (#351 )
2016-12-11 19:35:29 +01:00
Matt McFarland
b9698a7527
Fixes for #160
...
- Added instructions to create the html.js file as requested per the issue.
- Added the html.min.js file to the vanilla example
- Tested and working as expected.
2016-08-02 10:17:59 -04:00
Chia-liang Kao
44416fdc63
Actually make scripts/test lint fail
2016-07-23 16:23:24 +08:00
Todd Kennedy
147dabfcd7
Update effects sections to latest API ( #187 )
...
They have to call done!
2016-07-21 10:16:46 -07:00
traducer
fda6ee4c8f
Merge branch 'master' into stopwatch
2016-07-20 20:23:19 -07:00
Juan Soto
9fb124cf1c
Pluralize "times" correctly
2016-07-15 09:22:26 -04:00
Juan Soto
17959b8105
Add async-counter example
2016-07-15 09:22:25 -04:00
Brad Simantel
dbe41b9793
Add pathname-match dependency to mailbox example
...
The pathname-match module is being required in the pathname element, but wasn't actually included as a dependency.
2016-07-15 09:22:25 -04:00
traducer
c412b9604a
xtend not needed, removed
2016-07-13 23:54:29 +00:00
traducer
5f858cfdf5
added stopwatch example
...
added requestAnimationFrame polyfill
moved raf logic into a subscription
separated logic into multiple files, all state lives in a global namespaced model, reset no longer sends multiple actions only one
2016-07-13 16:59:20 +00:00
Boris Serdiuk
c03bcd21e5
prepare umd build before publish
2016-07-12 15:27:42 +02:00
Brad Simantel
d9a14130b3
Add pathname-match dependency to mailbox example
...
The pathname-match module is being required in the pathname element, but wasn't actually included as a dependency.
2016-07-06 14:35:46 -07:00
Yoshua Wuyts
4ad3dc9b72
deps: bump to barracks 8
2016-07-05 17:55:17 +02:00
timwis
d19e67322a
Rename action param -> data in examples
2016-07-03 12:37:43 -04:00
Yoshua Wuyts
6407188ee9
router: change order of arguments
...
fixup! freeze state & rename app ns to location
2016-07-02 22:54:35 +02:00
Yoshua Wuyts
9e039ed561
architecture: use barracks
...
Changes
=======
- add hook handlers
- add effect composition
- add noFreeze option
Commits
=======
- fixup! fix toString()
- fixup! use assert instead of throw
- fixup! fix reducers
- fixup! work on done callbacks
- fixup! more callback work
- fixup! woooh fixed effects errs
- fixup! wrap up stuff
2016-07-02 16:00:26 +02:00
Todd Kennedy
8f8df602c5
Extract html into separate module ( #103 )
2016-07-02 12:55:41 +02:00
Yoshua Wuyts
47cc4f8c2c
Merge pull request #73 from zigomir/fix-mailbox-example
...
Fix mailbox example
2016-06-30 16:15:06 +02:00
Mattijs Bliek
25926d0667
Fix typo in view
2016-06-23 11:34:27 +02:00
zigomir
51a9c4488e
Fix full reload on specific message.
2016-06-22 17:39:13 -07:00
zigomir
cf1548e61d
Add tachyons dependency.
2016-06-22 17:38:55 -07:00
Yoshua Wuyts
9486df4725
examples: add sse
2016-06-20 23:51:29 +01:00
John Otander
ec81364906
Fix typo in server rendering view
2016-06-18 18:55:12 -06:00
Yoshua Wuyts
918417f575
Merge pull request #14 from markmontymark/patch-1
...
Update nav.js, removing duplicated, unused fn arg
2016-05-24 03:17:53 +09:00
Yoshua Wuyts
60665f2a71
toString: support rehydration
2016-05-24 02:10:17 +09:00
Mark
bc7b6a209c
Update nav.js, removing duplicated, unused fn arg
2016-05-23 09:15:59 -07:00
Yoshua Wuyts
ab96d51a89
examples/server -> examples/server-rendering
2016-05-23 14:45:24 +09: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
46eabb02ae
examples: fix mailbox
2016-05-22 16:56:24 +09:00
Yoshua Wuyts
4084775c8c
choo: add server rendering
2016-05-22 02:06:46 +09:00
Yoshua Wuyts
620fe35426
deps: bump sheet-router
2016-05-21 15:32:01 +09:00
Yoshua Wuyts
6eef04663d
docs: setup example section
2016-05-16 02:48:47 +07:00
Yoshua Wuyts
1481cb0f6c
example-mailbox: v6
2016-05-14 10:44:44 +07:00
Yoshua Wuyts
32ae62d655
example-mailbox: v5
2016-05-13 16:48:46 +07:00
Yoshua Wuyts
4757e791f9
http: add
2016-05-13 12:24:51 +07:00
Yoshua Wuyts
56f335b71d
example-mailbox: v4
2016-05-12 19:37:02 +07:00
Yoshua Wuyts
5219fbafca
example-mailbox: v3
2016-05-12 19:33:52 +07:00
Yoshua Wuyts
94e8073af1
examples/http -> examples/mailbox
2016-05-12 15:44:33 +07:00
Yoshua Wuyts
1d14f9f26b
example-mailbox: v2
2016-05-12 15:42:44 +07:00
Yoshua Wuyts
53a1e6026a
choo: add href / history handling
2016-05-12 14:45:20 +07:00
Yoshua Wuyts
049d8f0cee
example-mailbox: v1
2016-05-12 13:49:29 +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