Commit Graph

678 Commits

Author SHA1 Message Date
Greg Johnston 20634e38a1 Refer to full type, in case it hasn't been imported 2022-11-20 15:04:05 -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 8077ae9ead Doctests: opt out of running futures on `csr` and `hydrate` outside the browser 2022-11-19 07:39:09 -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 63d06211b9 Fix which `Span` this is using 2022-11-18 16:46:54 -05:00
Greg Johnston ba199e1acb Fix doctests out of date with new API 2022-11-18 16:46:41 -05:00
Greg Johnston 9f4b3c9f26 Clear warnings 2022-11-18 16:46:25 -05:00
Greg Johnston d654a13541 Clear some macro warnings 2022-11-18 16:39:17 -05:00
Greg Johnston 63ae4e7dda Fix dependency version numbers 2022-11-18 15:47:45 -05:00
Greg Johnston ad880efc0d `leptos 0.0.17` and `leptos_router 0.0.3` 2022-11-18 15:45:04 -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 412693c2c3 `MultiAction`, `create_multi_action`, `create_server_multi_action`, and `MultiActionForm` 2022-11-18 13:25:46 -05:00
Greg Johnston 5c36f0963c Initial version of todo app with sqlite 2022-11-18 13:25:12 -05:00
Greg Johnston 491f124669
Merge pull request #89 from jquesada2016/main
Add ability to get/set signals untracked
2022-11-18 12:13:07 -05:00
Greg Johnston 43524c0135 Clean up docs on `counter-isomorphic` 2022-11-18 11:48:08 -05:00
Greg Johnston 5562e2d6ee Tests 2022-11-18 11:30:26 -05:00
Greg Johnston bbf2d69b55
Merge pull request #90 from gbj/self-triggering-effect
Allow triggering an effect to re-run from within the effect
2022-11-18 11:28:08 -05:00
Jose Quesada 00b6b39ee0 impl `UntrackedGettableSignal` for `MaybeSignal` 2022-11-18 10:08:28 -06:00
Jose Quesada 3d88227bac impl `UntrackedGettableSignal` for Signal 2022-11-18 10:01:35 -06:00
Greg Johnston d530b28348 Give direct access to `input` and `value` fields on actions 2022-11-18 10:56:00 -05:00
Greg Johnston 97a7240e26 Correct docs on `create_scope` and `child_scope` 2022-11-18 10:41:19 -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
Jose Quesada fe41b6c840 renamed `UntrackedSettableSignal::set` to `set_untracked` 2022-11-18 08:27:14 -06:00
Greg Johnston 8e2930141a ... oops. This is why we have tests. 2022-11-17 21:30:35 -05:00
Jose Quesada 36777c2055 Merge branch 'main' of https://github.com/jquesada2016/leptos 2022-11-17 19:30:33 -06:00
Greg Johnston 7ad8a6bef2 Clear up some r-a issues (and allow for `stable` in future) 2022-11-17 20:30:32 -05:00
Greg Johnston e26393a42c Fix router issues 2022-11-17 20:30:18 -05:00
Jose Quesada 6e78e85590 impl `UntrackedSettableSignal` for `WriteSignal`, `RwSignal` 2022-11-17 19:30:05 -06: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
jquesada2016 d35fdf71ed
Merge branch 'gbj:main' into main 2022-11-17 19:06:33 -06:00
Greg Johnston 0473093d0a
Merge pull request #88 from gbj/signal-wrappers
Provide `Signal<T>` and `MaybeSignal<T>` wrapper types.
2022-11-17 19:50:12 -05:00
Jose Quesada 4a187e83f7 impl `UntrackedGettableSignal` for `ReadSignal`, `RwSignal`, and `Memo` 2022-11-17 18:46:59 -06:00
Greg Johnston d6c6ab7939 Create list of common bugs (includes #82 and #83) 2022-11-17 18:20:54 -05:00
Greg Johnston 5b64af1fed Fix doctests 2022-11-17 17:55:57 -05:00
Greg Johnston 72f20f7413 Remove to clarify docs 2022-11-17 17:45:58 -05:00
Greg Johnston f4e5ef41b2 Relax constraint on `with` function 2022-11-17 17:45:52 -05:00
Greg Johnston f709b46d29 Add generic wrappers for signal types 2022-11-17 17:45:43 -05:00
Greg Johnston f87ac34656
Merge pull request #86 from benwis/axum-example
Working Axum Example!
2022-11-17 09:08:26 -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 77504de8f1 Correctly set `value` and `input` when using `<ActionForm/>` so we can do real optimistic UI (see issue #51) 2022-11-16 20:16:21 -05: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