Commit graph

204 commits

Author SHA1 Message Date
Greg Johnston
ce84632c39 Update NodeRef to be generic over typed HTML elements 2022-12-21 21:15:48 -05:00
Greg Johnston
2f218e7428 Small changes to examples 2022-12-21 07:56:33 -05:00
Greg Johnston
7ca131c5b8 Work on hydration examples 2022-12-19 22:45:12 -05:00
Greg Johnston
9a2035f1e1 Relocate view-tests into leptos_dom 2022-12-19 20:11:25 -05:00
Greg Johnston
df8e50e85a Update TodoMVC example 2022-12-19 20:10:15 -05:00
Greg Johnston
8be33ccd7c Updating todo-app-sqlite example (todo: fix hydration) 2022-12-19 16:25:24 -05:00
Greg Johnston
d6920847ca Fix tests in counter example 2022-12-19 16:14:46 -05:00
Greg Johnston
c63c8728a7 Clear warnings in router example 2022-12-19 07:41:50 -05:00
Greg Johnston
fc8921445e Update parent-child example 2022-12-18 17:12:06 -05:00
Greg Johnston
4134d2f924 Working on router example 2022-12-13 14:20:58 -05:00
Greg Johnston
92335989b7 Don't overwrite MetaContext from integration 2022-12-12 20:55:57 -05:00
Greg Johnston
6b6c54e8ff Updating hackernews example 2022-12-12 13:40:05 -05:00
Greg Johnston
c481e465b0 Update counter-isomorphic 2022-12-12 09:26:13 -05:00
Greg Johnston
073bd759b0 Add .gitignore 2022-12-12 09:25:57 -05:00
Greg Johnston
88435af844 Update counter-isomorphicexample 2022-12-12 09:25:47 -05:00
Greg Johnston
86d5f4c2e4 Update <For/> in example 2022-12-11 20:21:07 -05:00
Greg Johnston
43ffa1bcd7 Use Fn() -> Fragment for component children, and update router and Suspense/Transition 2022-12-10 22:12:08 -05:00
Greg Johnston
a53f7ccdb7 Update Suspense and Transition with new impl IntoView pattern 2022-12-10 19:51:41 -05:00
Greg Johnston
b7bd4fc69c Update Counters example 2022-12-10 19:51:30 -05:00
Greg Johnston
90de653a60 Concrete return types work 2022-12-10 19:28:11 -05:00
Greg Johnston
bcb130deca Working on router 2022-12-10 09:15:05 -05:00
Greg Johnston
000d796149 Update router example 2022-12-10 08:32:19 -05:00
Greg Johnston
46e77d72ea Add transition 2022-12-09 22:23:42 -05:00
Greg Johnston
ba34a9644e Work on Suspense 2022-12-09 18:27:32 -05:00
Greg Johnston
f6eceaeaf9 Update counters exaple 2022-12-09 14:56:50 -05:00
Greg Johnston
b8559d4335 Transition counter example to use View 2022-12-08 19:33:01 -05:00
Greg Johnston
6949750668 Fixing tests and examples 2022-11-23 18:29:20 -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
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
525a31bf3d Working render_app_to_stream for Axum 2022-11-20 18:28:47 -05:00
Greg Johnston
4e8c1758c3 render_app_to_stream helper in leptos_actix 2022-11-20 16:03:08 -05:00
Greg Johnston
eff42a196f actix-web integration with builtin server function handler route 2022-11-20 15:25:45 -05:00
Greg Johnston
4f3d7dc492 Add server context to counter-isomorphic example 2022-11-20 14:18:27 -05:00
Greg Johnston
6ddc720227 Allow accessing Scope from server functions, which can be used to inject server-only dependencies like HttpRequest 2022-11-19 14:44:35 -05:00
Greg Johnston
75de8a95b6 Make todo-app-sqlite work in fully-WASMless mode with <Suspense/> and streaming 2022-11-19 07:36:16 -05:00
Greg Johnston
5ff806d35a
Merge pull request #92 from gbj/action-api
`Action` and `MultiAction` API changes
2022-11-18 15:21:07 -05:00
Greg Johnston
165ec069ba Deletion feature 2022-11-18 15:20:33 -05:00
Greg Johnston
be7bce03dc Optimistic UI 2022-11-18 14:58:10 -05:00
Greg Johnston
1b1182114d Fix up example since there's no CSR option 2022-11-18 13:53:16 -05:00
Greg Johnston
5c36f0963c Initial version of todo app with sqlite 2022-11-18 13:25:12 -05:00
Greg Johnston
43524c0135 Clean up docs on counter-isomorphic 2022-11-18 11:48:08 -05:00
Greg Johnston
2ad49a0a7e Restore view-tests 2022-11-18 10:28:23 -05:00
Greg Johnston
58e0bead02 Fix JS path in hackernews example 2022-11-18 10:24:36 -05:00
Greg Johnston
46b1a96cc7 Allow triggering an effect to re-run from within the effect (so that e.g., you can get() and set() the same signal within the effect — see issue #83) 2022-11-17 20:16:57 -05:00
Ben Wishovich
13a1d2efaa
Merge branch 'gbj:main' into axum-example 2022-11-16 18:34:01 -08:00
Ben Wishovich
cae3bb8bbd Fix CSS imports, is a bit clunky though 2022-11-16 17:26:45 -08:00
Greg Johnston
c17c6549cf Resolve ambiguous main import error 2022-11-16 20:15:29 -05:00
Ben Wishovich
971f75b6c5 It mostly works, except for the CSS 2022-11-16 16:09:51 -08:00
Ben Wishovich
fc6a3c0eb2 Getting closer 2022-11-16 13:36:35 -08:00
Ben Wishovich
cca63e6724 Closer to the goal! 2022-11-16 13:05:06 -08:00