Commit graph

88 commits

Author SHA1 Message Date
Greg Johnston
2ad8a6a979 Use try_with whenever panicking isn't necessary 2022-10-21 22:44:50 -04:00
Greg Johnston
e903e84243 Increasing robustness of reactive system against panics — add try_with, and use that whenever possible internally 2022-10-21 22:42:09 -04:00
Greg Johnston
89b24bc52f Replace route loaders with resources in examples, as the loader API is going to change 2022-10-21 14:47:59 -04:00
Greg Johnston
0e1f3c567f Improve error messages by moving unwrap => expect 2022-10-20 17:48:38 -04:00
Greg Johnston
db3a9c98e7 Move benchmarks into their own directory 2022-10-19 16:41:51 -04:00
Greg Johnston
d56fea474b Add RwSignal::read_only and add docs for RwSignal 2022-10-19 09:45:28 -04:00
Greg Johnston
e909232292 0.0.9 2022-10-18 21:54:05 -04:00
Greg Johnston
1bbbdbf29e Rationalize features and set up defaults so that a) users don't need to specify csr mode by default and b) tests pass without feature flags 2022-10-18 10:42:55 -04:00
hakesson
6ef3d9de14 Fix duplicate definition of spawn_local error. 2022-10-18 08:11:51 +02:00
Greg Johnston
845a6be352 Correct track child scopes to be removed if necessary 2022-10-17 15:28:57 -04:00
Greg Johnston
0a0fb3bcf6 on_cleanup (issue #13) and example for cleanup functions 2022-10-17 13:39:40 -04:00
Greg Johnston
015bfc24fd Feature-flag to enable support for stable Rust instead of nightly 2022-10-17 13:23:20 -04:00
Greg Johnston
7c19dd8039 Clearing some additional warnings in examples 2022-10-17 11:03:43 -04:00
Greg Johnston
e35be3c27c Remove unnecessary signal from Resource implementation 2022-10-17 10:52:51 -04:00
Greg Johnston
3f7e7193ea Clearing up some of the flood of warnings for unused imports etc. that have come up as I've shifted around implementations 2022-10-17 10:45:20 -04:00
Greg Johnston
40b793d335 Add/clean up resources in scopes 2022-10-15 22:35:06 -04:00
Greg Johnston
f35540b080 RwSignal and create_rw_signal docs 2022-10-15 22:29:48 -04:00
Greg Johnston
3dd3870dbf Fixing/updating SSR/hydration and some bugs in new reactivity 2022-10-15 22:17:58 -04:00
Greg Johnston
7a04411b64 New reactive system: switching to using SecondaryMaps from slotmap to reduce binary size and creation cost significantly 2022-10-15 19:26:17 -04:00
Greg Johnston
31a64173ee Remove logs 2022-10-15 17:08:35 -04:00
Greg Johnston
1aee36f2c4 Clear some warnings in reactive system 2022-10-15 08:04:33 -04:00
Greg Johnston
2ed8a58894 Remove transitions; maybe work this back in in the future 2022-10-15 07:59:37 -04:00
Greg Johnston
9ab08795d9 0.0.7 2022-10-14 15:47:16 -04:00
Greg Johnston
16f084a712 Fix Hacker News SSR/streaming/hydration 2022-10-13 18:53:31 -04:00
Greg Johnston
c501cd0233 Expose queue_microtask 2022-10-12 22:18:05 -04:00
Greg Johnston
ceedf898e1 Adding lots of docs 2022-10-11 22:11:09 -04:00
Greg Johnston
6e89ea4447 Proc-macro hygiene by including cx in view! macro. :-( but necessary... 2022-10-10 20:44:44 -04:00
Greg Johnston
637b4cb4ec Resource docs and testing infrastructure 2022-10-10 10:31:13 -04:00
Greg Johnston
15e4da9600 Work on docs 2022-10-09 22:17:09 -04:00
Greg Johnston
2d2f2a52a4 Update all libraries and examples to use new set_x API 2022-10-08 20:39:13 -04:00
Greg Johnston
a26ab79415 Change default behavior of WriteSignal so that set_X() assigns a new value T, and set_X.update(...) takes a fn 2022-10-08 20:38:34 -04:00
Greg Johnston
ae9304a189 Version 0.0.3 2022-10-08 08:02:07 -04:00
Greg Johnston
8936e06783 Fix default feature 2022-10-08 07:54:49 -04:00
Greg Johnston
4c8707d290 Add create_selector 2022-10-08 07:49:46 -04:00
Greg Johnston
10cc0fbef4 Clean up some dependency issues 2022-10-07 16:28:22 -04:00
Greg Johnston
97d7afec2e Fix authors field 2022-10-07 06:50:21 -04:00
Greg Johnston
5742cc8bd9 Set versions 2022-10-07 06:41:50 -04:00
Greg Johnston
12db14cb40 Loader calls for subsequent page navigations in hydration mode 2022-10-05 20:37:29 -04:00
Greg Johnston
1d42c1b902 Significant progress on accurate/robust hydration 2022-10-01 21:25:49 -04:00
Greg Johnston
0e60228f9b Fix hydration??? 2022-09-30 15:27:49 -04:00
Greg Johnston
4008240bff Work on hydration 2022-09-28 21:35:21 -04:00
Greg Johnston
b2fcb552ea Add <Stylesheet> component to meta 2022-09-28 20:54:56 -04:00
Greg Johnston
6365ac2c8c Stream resources using bincode => base64 instead of serde_json for bundle size and overall speed 2022-09-25 22:11:32 -04:00
Greg Johnston
010a8ad985 Hide all transition features under a feature flag for increased perf/marginally smaller bundle size when not needed 2022-09-21 19:38:42 -04:00
Greg Johnston
d640a55623 Lazily unsubscribe from effects if their scopes have been disposed of (prevents issues like crash in router when URL signals try to update UI effects that no longer exist) 2022-09-21 15:14:01 -04:00
Greg Johnston
1695f129e2 Cleanup 2022-09-20 14:31:06 -04:00
Greg Johnston
2c6a679ffb Lazy-evaluate children 2022-09-16 22:35:25 -04:00
Greg Johnston
86562aa5d1 Remove functions not actually needed in CSR 2022-09-14 10:13:40 -04:00
Greg Johnston
1a1af6a673 Out-of-order HTML streaming of Suspense nodes! 2022-09-11 21:13:30 -04:00
Greg Johnston
80de7e9e12 Work on data streaming 2022-09-11 15:11:03 -04:00