Commit graph

587 commits

Author SHA1 Message Date
Greg Johnston
835c465c34 T in For component does *not* need to be Eq 2022-11-24 06:41:15 -05:00
Greg Johnston
45e2c09e53
Merge pull request #114 from safx/typed-event-handlers
Add typed event handlers
2022-11-23 19:04:32 -05:00
Greg Johnston
19d7b8434b
Merge branch 'main' into typed-event-handlers 2022-11-23 19:03:52 -05:00
Greg Johnston
6949750668 Fixing tests and examples 2022-11-23 18:29:20 -05:00
Greg Johnston
588ebf51a5 Fix event type in router 2022-11-23 16:54:45 -05:00
Greg Johnston
3a65ad9a51 Fix type inference on server 2022-11-23 16:54:41 -05:00
Greg Johnston
7a10ffd150 A couple small DX improvements re: we, and making sure it builds /tests properly 2022-11-23 15:12:21 -05:00
Greg Johnston
a23d80fe27
Merge pull request #113 from gbj/dx-improvements
Doc and error message improvements
2022-11-23 11:10:20 -05:00
Greg Johnston
6966ef4b39 Fix renderer panic issue on release builds 2022-11-23 11:03:16 -05:00
Greg Johnston
e0c8b827c4 Fix leptos_dom tests 2022-11-23 10:24:50 -05:00
Greg Johnston
ebef5156a5 Final fix to render_to_string tests 2022-11-23 09:59:24 -05:00
safx
f3947abdc2
Merge branch 'main' into typed-event-handlers 2022-11-23 22:51:31 +09:00
Safx
701a12ab46 Add typed event handlers 2022-11-23 22:50:26 +09:00
Greg Johnston
fe830e524c Add docs for component macro (fixes issues #106 and #111) 2022-11-23 07:58:01 -05:00
Greg Johnston
6ddef3018f Better errors on renderer bugs (fixes issue #112) 2022-11-23 07:37:47 -05:00
Greg Johnston
0cbab3ef87 Don't run render_to_string test if csr or hydrate is enabled 2022-11-23 07:21:19 -05:00
Greg Johnston
4fda94144b Add run_child_scope helper 2022-11-23 07:08:18 -05:00
Greg Johnston
102fb9d819 Fix render_to_string test 2022-11-22 21:18:28 -05:00
Greg Johnston
545fcce97c Set book chapters to depend on latest version explicitly 2022-11-22 20:52:46 -05:00
Greg Johnston
33424683d0
Merge pull request #108 from jasonrhansen/fix-counters-example
Assign correct ids in `add_many_counters`
2022-11-22 20:48:50 -05:00
Greg Johnston
19c3186d3f Add a simple render_to_string() helper for synchronous HTML rendering 2022-11-22 19:51:05 -05:00
Greg Johnston
3482f456f8 Add metadata field for integrations 2022-11-22 19:45:38 -05:00
Jason Rodney Hansen
d8a97a81ff Assign correct ids in add_many_counters
The counters and counters-stable examples didn't assign the correct ids when
clicking the "Add 1000 Counters" button if there were already counters added,
which meant clicking the "x" to remove them would remove the wrong counter.
2022-11-22 17:00:04 -07:00
Greg Johnston
2ce7e71748 0.0.18 2022-11-22 07:37:34 -05:00
Greg Johnston
4f205b5368 0.0.18 2022-11-22 07:32:12 -05:00
Greg Johnston
8e624d4942 Update book 2022-11-22 07:32:05 -05:00
Greg Johnston
cee32a3f8f
Merge pull request #105 from gbj/thread-local-runtimes
Thread local runtimes
2022-11-22 07:29:21 -05:00
Greg Johnston
e827ee93e2 leptos_server doctests 2022-11-22 06:42:00 -05:00
Greg Johnston
2651bf5fef Fix meta and router tests 2022-11-21 22:45:56 -05:00
Greg Johnston
10d19f7fb3 leptos_macro tests 2022-11-21 22:27:25 -05:00
Greg Johnston
00de5d0d88 Fix Suspense doctest 2022-11-21 22:14:17 -05:00
Greg Johnston
0f0e3da407 Fix map_keyed test 2022-11-21 22:03:13 -05:00
Greg Johnston
4a741d772b Fix import in test 2022-11-21 21:50:29 -05:00
Greg Johnston
6c521226e3 Update other packages to handle new thread-local reactives 2022-11-21 21:46:07 -05:00
Greg Johnston
739e7db49d Support for multiple, independent Runtimes on a single thread without leaking 2022-11-21 21:11:03 -05:00
Greg Johnston
7c79cb1b1f
Merge pull request #102 from gbj/meta-docs
Fixes issue #98
2022-11-21 16:50:39 -05:00
Greg Johnston
4f522d135b Fx doctests 2022-11-21 16:50:04 -05:00
Greg Johnston
60ecd740f5 Fix root doctest 2022-11-21 16:08:53 -05:00
Greg Johnston
b707eada86 Fix root-level doctest 2022-11-21 10:50:43 -05:00
Greg Johnston
71594daa93 Fix root doctest 2022-11-21 10:50:12 -05:00
Greg Johnston
89f837d3b6 Fixes #98, cleans up leptos_meta, and improves interface by removing manual .into() calls 2022-11-21 10:47:54 -05:00
Greg Johnston
014b5f9453 Update note in router docs 2022-11-21 09:54:10 -05:00
Greg Johnston
55896d97b8 Clear warning 2022-11-21 09:40:48 -05:00
Greg Johnston
5e532b60b0 prevent_default until after navigation so a failed navigation will fall back to browser navigation 2022-11-21 09:40:42 -05:00
Greg Johnston
a3181dea64 Clear some form-related warnings 2022-11-21 09:35:09 -05:00
Greg Johnston
1f1218bbb7 Fix broken links and other issues in docs 2022-11-21 09:25:09 -05:00
Greg Johnston
9322cc991b Provide whole Request<Body> to server functions in Axum 2022-11-21 07:37:58 -05:00
Greg Johnston
d0c6319a72 Resolves issue #97 2022-11-21 07:30:13 -05:00
Greg Johnston
9f1b27ad26
Merge pull request #101 from gbj/server-integrations
Server integrations for Axum and Actix
2022-11-21 07:07:03 -05:00
Greg Johnston
986cd2979a Remove unused Request/Response stuff in router 2022-11-20 22:13:31 -05:00