Commit graph

198 commits

Author SHA1 Message Date
Greg Johnston
755ceb7d75 0.1.0-beta 2023-01-02 16:35:00 -05:00
Greg Johnston
bd5bd71a21 chore: clear warning 2023-01-02 12:55:04 -05:00
Greg Johnston
fe820c48c8 Revert confusingly-aggressive shadowed-context warning 2023-01-01 17:40:39 -05:00
Ben Wishovich
f45d33db73 Move the examples out of the workspace, and standardize naming. All of the SSR examples now work with cargo-leptos 2022-12-31 15:52:19 -08:00
Greg Johnston
6e1bc42879
Merge pull request #204 from gbj/debug-shadowed-context
Give warning when shadowing a context in debug mode
2022-12-30 19:11:02 -05:00
Greg Johnston
8ee521787e Give warning when shadowing a context in debug mode 2022-12-30 17:11:34 -05:00
Greg Johnston
98d151f5fb Make Signal and SignalSetter Copy by backing them with StoredValue when needed 2022-12-30 15:10:37 -05:00
Greg Johnston
5a9a681d8a Create store_value and StoredValue, allowing you to stash things inside the reactive system in exchange for a Copy + 'static wrapper. 2022-12-30 15:10:28 -05:00
Greg Johnston
cd9fe66fbb Debug bound 2022-12-29 18:01:47 -05:00
Greg Johnston
3bb9e93c69 Debug bounds 2022-12-29 18:01:01 -05:00
Greg Johnston
f9474def96 Relaxed Debug bounds 2022-12-29 17:43:17 -05:00
Greg Johnston
9399fc7b4f Removed old/broken fix for hydration under <Suspense/> 2022-12-29 17:30:33 -05:00
Jose Quesada
67c5eda099 removed clone bount on the type argument of SignalSetter 2022-12-28 21:14:10 -06:00
Greg Johnston
4b1fce4c9c Revert "Merge branch 'main' into pr/119"
This reverts commit 63f680f37d, reversing
changes made to 50ba796f49.
2022-12-28 15:06:46 -05:00
Greg Johnston
63f680f37d Merge branch 'main' into pr/119 2022-12-28 14:21:54 -05:00
Greg Johnston
e3c4e9f6a4 chores: fix failing tests, update docs, suppress warnings 2022-12-28 11:33:26 -05:00
Greg Johnston
c712cc8937 chore: clippy 2022-12-26 17:49:32 -05:00
Greg Johnston
6077966cd7 Streaming SSR for <Suspense/> in release mode 2022-12-26 17:47:26 -05:00
Greg Johnston
f1a148caf8 Remove errant Clone bound on Signal<T> by implementing explicitly 2022-12-26 11:38:25 -05:00
Greg Johnston
5540bb8e8c Bump version to 0.1.0-alpha 2022-12-25 22:58:07 -05:00
Greg Johnston
86df770dad chores: getting tests fixed, etc. 2022-12-25 22:53:52 -05:00
Greg Johnston
479c11e3f8 MUCH better solution to hydration mismatch when resources read not under Suspense 2022-12-24 08:24:56 -05:00
Greg Johnston
a4747596fa Only stream Resources if they're under a Suspense to fix rendering issue 2022-12-23 17:01:22 -05:00
Greg Johnston
f20c74fa98 SSR changes to support integrations 2022-12-23 14:23:06 -05:00
Greg Johnston
391fe89542 0.0.21 2022-12-23 13:01:15 -05:00
Greg Johnston
d95dc1858c Fix merged leptos_reactive so that resources are streamed properly 2022-12-23 11:33:17 -05:00
Greg Johnston
558b13dc0e Fix merged leptos_reactive so that resources are streamed properly 2022-12-23 11:33:05 -05:00
Greg Johnston
43bbd2f33e Merge branch 'main' of https://github.com/gbj/leptos 2022-12-23 10:25:51 -05:00
Greg Johnston
833eee6639 Create shared_context by default in SSR 2022-12-23 10:25:48 -05:00
Greg Johnston
feb7961bd0 Created shared_context by default in SSR 2022-12-23 10:24:44 -05:00
Greg Johnston
3d160ed152 Merge in changes to leptos_reactive from main 2022-12-23 09:19:04 -05:00
Greg Johnston
46c939ba28 Relax all the Debug trait bounds on various types in leptos_reactive 2022-12-22 21:07:38 -05:00
Greg Johnston
79712ac4ef Fixes for <Suspense/> hydration 2022-12-19 22:45:00 -05:00
Greg Johnston
eb573bf242 Remove HydrationKey from leptos_reactive 2022-12-18 16:23:04 -05:00
Greg Johnston
e8aaa77160 Remove now-unused hydration stuff from Scope 2022-12-18 16:20:44 -05:00
Greg Johnston
702a785ca0 Fix context tests 2022-12-16 15:28:10 -05:00
Greg Johnston
924b632fd3 Improve docs for provide_context and use_context 2022-12-16 07:20:54 -05:00
Greg Johnston
c463579faa Round 1 of next_hydration_key() 2022-12-14 20:38:37 -05:00
Greg Johnston
e499c88288 Consolidating hydration key generation 2022-12-12 20:55:28 -05:00
Ramon Klass
fea462c90a update_returning handlers 2022-12-13 02:19:58 +01:00
Greg Johnston
9c0d813697 Resolve issue with scope disposal panicking because it can't find runtime (because runtime already dropped) 2022-12-12 10:25:20 -05:00
Greg Johnston
7959f5b324 Add signal helpers from main that are needed for <Transition/> 2022-12-09 22:52:14 -05:00
Jose Quesada
70ae60d4d5 fixed broken compilation 2022-12-08 08:56:53 -06:00
Greg Johnston
56457bc3ad Generate HydrationKey with Scope 2022-12-07 15:57:53 -05:00
Greg Johnston
2ff5ec21c8 0.0.20 2022-12-05 16:25:16 -05:00
Greg Johnston
70e18d2aeb Automatically enable the stable feature if you're on stable Rust 2022-12-02 12:56:05 -05:00
Greg Johnston
644d097cb6 Fix SignalSetter tests 2022-11-30 11:22:05 -05:00
Greg Johnston
9c0be9e317 Finishing implementing SignalSetter wrapper. 2022-11-30 07:46:04 -05:00
Greg Johnston
321e11e97a Fix issue in which server-side resource are called 3x 2022-11-28 22:28:02 -05:00
Greg Johnston
36de06f183 0.0.19 2022-11-27 09:13:21 -05:00