Commit graph

114 commits

Author SHA1 Message Date
Greg Johnston
ba3156c878 0.0.16 2022-11-13 09:02:04 -05:00
Greg Johnston
c347e85de7 Fix doctest to reflect the fact that create_effect doesn't run in SSR mode 2022-11-13 07:08:42 -05:00
Greg Johnston
3fe1c6ccda
Merge pull request #61 from gbj/doc-patrol
Adding missing docs
2022-11-12 06:40:14 -05:00
Greg Johnston
01807ea514 Fix toggle_all panic 2022-11-10 21:43:40 -05:00
Greg Johnston
1e04442f97 Fix broken links in docs 2022-11-10 07:29:22 -05:00
Greg Johnston
9da3c66683 #![deny(missing_docs)] on leptos_reactive 2022-11-07 21:16:44 -05:00
Greg Johnston
a5712d3e17 0.0.12 2022-11-03 20:00:26 -04:00
Greg Johnston
8a7ff0414a Fixing a few more build/test issues 2022-11-02 23:10:12 -04:00
Greg Johnston
db69145fd9 Sorting out all sorts of feature flags etc. so everything will build and test 2022-11-02 21:46:47 -04:00
Greg Johnston
8ea73565de Shift from mutually-exclusive features to a more-gracefully-degrading system of features ordered by preference, clean up some warnings, and use cfg_if for improved readability 2022-11-02 20:41:00 -04:00
Greg Johnston
b8f1d213be Add conversions between signals and async Streams 2022-10-26 22:29:24 -04:00
Greg Johnston
2fbe08f128 0.0.11 2022-10-24 19:30:13 -04:00
Greg Johnston
e59ec14dec
Remove Clone bounds on signals and make previous value in Memo fn Option<&T> instead of Option<T>
Merge pull request #37 from danheuck/remove-clone-bounds
2022-10-24 19:18:40 -04:00
Dan Heuckeroth
6f0d58bc7c Add docs to Resource::read() & Resource::with() 2022-10-24 19:02:34 -04:00
Greg Johnston
a4963c5201 Derive same traits on RwSignal that are derived on ReadSignal 2022-10-24 07:51:11 -04:00
Dan Heuckeroth
1f34d667fa Remove unnecessary Clone bounds 2022-10-23 21:24:31 -04:00
Dan Heuckeroth
fa79bf8bcc Update documentation 2022-10-23 20:32:05 -04:00
Dan Heuckeroth
c3c6b3dfc1 Change "client" resources to "local" 2022-10-23 20:31:52 -04:00
Dan Heuckeroth
39aee60d6b Allow unserializable "client" resources 2022-10-22 23:13:31 -04:00
Greg Johnston
794ad5b2b2
Merge pull request #33 from gbj/serde-lite
Add `serde-lite` and `miniserde` features, as well as default `serde`, for resources
2022-10-22 16:29:33 -04:00
Greg Johnston
b5e3fcae0a Clear some feature conflicts that mostly show up in rust-analyzer/IDE, not when you have features enabled 2022-10-22 16:28:33 -04:00
Greg Johnston
600eb8c1c9 serde, serde-lite, and miniserde features for resources 2022-10-22 16:22:44 -04:00
Greg Johnston
5c022879f1 Transition from serde to serde-lite to save Wasm binary size 2022-10-22 11:02:47 -04:00
Greg Johnston
a06ebf3b73 Add warnings when reactive system fails silently 2022-10-22 10:07:19 -04:00
Greg Johnston
100f677f55 Fix issues with new guards 2022-10-22 08:02:41 -04:00
Greg Johnston
c77bdb3781 0.0.10 2022-10-22 07:56:33 -04:00
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