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 |
|
Greg Johnston
|
b54c0f14e8
|
Remove erroneous Clone bound on calling WriteSignal as a function
|
2022-11-26 21:24:55 -05:00 |
|
Greg Johnston
|
41c03852e1
|
Create SignalSetter wrapper for writable signals corresponding to Signal wrapper for readable signals
|
2022-11-26 21:15:19 -05:00 |
|
Greg Johnston
|
c3fb9396e1
|
Add RwSignal::split()
|
2022-11-26 17:35:46 -05:00 |
|
Greg Johnston
|
3a9d16ad29
|
Add RwSignal::write_only()
|
2022-11-26 17:33:13 -05:00 |
|
Greg Johnston
|
dbe3daf16a
|
Update skip lists for CI
|
2022-11-26 08:43:18 -05:00 |
|
Greg Johnston
|
93f68e022f
|
Merge branch 'main' into msgpack-encoding
|
2022-11-25 14:35:52 -05:00 |
|
Ben Wishovich
|
440719071a
|
Switch MessagePack for CBOR, as it's more standardized
|
2022-11-23 14:23:49 -08:00 |
|
Greg Johnston
|
4fda94144b
|
Add run_child_scope helper
|
2022-11-23 07:08:18 -05:00 |
|
Ben Wishovich
|
2a547936d4
|
Almost there maybe?
|
2022-11-22 10:41:15 -08:00 |
|
Greg Johnston
|
4f205b5368
|
0.0.18
|
2022-11-22 07:32:12 -05:00 |
|
Ben Wishovich
|
6564b95342
|
WIP commit for MessagePack Encoding
|
2022-11-21 22:07:56 -08:00 |
|
Greg Johnston
|
6c521226e3
|
Update other packages to handle new thread-local reactives
|
2022-11-21 21:46:07 -05:00 |
|
Greg Johnston
|
739e7db49d
|
Support for multiple, independent Runtimes on a single thread without leaking
|
2022-11-21 21:11:03 -05:00 |
|
Greg Johnston
|
1f1218bbb7
|
Fix broken links and other issues in docs
|
2022-11-21 09:25:09 -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
|
9f4b3c9f26
|
Clear warnings
|
2022-11-18 16:46:25 -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
|
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
|
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
|
97a7240e26
|
Correct docs on create_scope and child_scope
|
2022-11-18 10:41:19 -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 |
|
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 |
|
Jose Quesada
|
4a187e83f7
|
impl UntrackedGettableSignal for ReadSignal , RwSignal , and Memo
|
2022-11-17 18:46:59 -06: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
|
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 |
|
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 |
|