Greg Johnston
6c763a83cb
fix: suppress warning loading local resource without <Suspense/>
in hydrate mode ( closes #979 ) ( #984 )
2023-05-03 11:22:34 -04:00
Ben Wishovich
81f330e888
feat: add thorough tracing throughout ( #908 )
2023-04-22 06:47:11 -04:00
Greg Johnston
e5d657dd55
fix: panic when creating nested StoredValue
( #920 )
2023-04-22 06:44:25 -04:00
Greg Johnston
b452d8af40
feat: add ability to mutate resources ( closes #856 ) ( #886 )
2023-04-19 11:40:46 -04:00
Mark Catley
bc316c648c
feat: add expect_context
function ( #864 )
...
Most of the time when using use_context it would be a bug if the context
wasn't present and appropriate to panic. This is a convenience function
that has that behavior.
2023-04-17 10:47:50 -04:00
Nova
493c805993
feat: Trigger
primitive and reactive-system cleanups ( #838 )
2023-04-10 17:47:52 -04:00
Nova
70f3edb0f5
fix: fix leaks in memos, and in scope parent tracking ( #841 )
2023-04-09 16:36:53 -04:00
novacrazy
be7b9eea25
Merge branch 'main' of https://github.com/leptos-rs/leptos
2023-04-07 14:09:10 -05:00
Greg Johnston
016ad6b7a6
feat: make __Props
imports unnecessary ( closes #746 ) ( #828 )
2023-04-07 15:06:10 -04:00
Greg Johnston
63be819533
tests: update benchmarks ( #827 )
...
* tests: add Criterion benchmarking and move reactive benchmarks into `leptos_reactive`
* tests: updated SSR benchmarks
2023-04-07 13:04:26 -04:00
novacrazy
60b96c9118
Couple more inline tweaks
2023-04-07 05:28:50 -05:00
novacrazy
a6170f4da9
First round of inlining
2023-04-06 21:02:40 -05:00
novacrazy
5bc1c36e67
Pull out non-generic code in reactive core
2023-04-06 20:32:59 -05:00
novacrazy
b1b9853f92
Replace with_scope_property with push_scope_property
...
Avoids duplicate codegen
2023-04-06 20:26:58 -05:00
novacrazy
5d6a083d1d
Fix nested batching and improve batch/untrack behavior
2023-04-06 20:22:58 -05:00
novacrazy
b51da35a9a
Remove allocation in ScopeDisposer
2023-04-05 21:21:22 -05:00
novacrazy
164dcd1b97
Cleanup signal clone impl
2023-04-05 21:19:04 -05:00
novacrazy
c0964c2b01
Fast path for linear deeply nested children
2023-04-05 21:17:37 -05:00
Nova
4e7a0db950
perf: optimize memory usage of update methods ( #809 )
2023-04-05 20:16:53 -04:00
Nova
cee6ed9a9f
perf: optimize Runtime::mark_dirty ( #808 )
2023-04-05 20:16:40 -04:00
Mark Catley
ea638e37f6
fix: unused warning in reactive signal diagnostics ( #807 )
2023-04-05 06:26:36 -04:00
Nova
4342d45a2f
perf: optimize size of RuntimeId when slotmap is not used ( #805 )
2023-04-05 06:26:17 -04:00
Greg Johnston
8bdb427133
fix: improvements "untracked read" warnings in untrack
, SSR cases ( #791 )
2023-04-02 15:57:06 -04:00
Greg Johnston
210c11a733
docs: add runtime "strict mode" checks that warn if you’re non-reactively accessing a value ( #786 )
2023-04-01 17:41:25 -04:00
Greg Johnston
e78ce7e6b9
feat: create_blocking_resource
( #752 )
2023-04-01 11:25:00 -04:00
Greg Johnston
1e037ecb60
chore: clippy and docs warnings ( #779 )
2023-03-31 17:12:42 -04:00
Igor Shevchenko
98a9ec8335
chore(docs): fix a few typos ( #756 )
2023-03-27 20:06:34 -04:00
Greg Johnston
a94711fcf0
fix: correct typecast on Memo::get_untracked
(closes issue #754 ) ( #755 )
2023-03-27 11:28:40 -04:00
Greg Johnston
97d88c65ae
docs: warn when reading resource outside <Suspense/>
(closes issue #742 ) ( #743 )
2023-03-25 14:22:22 -04:00
martin frances
4cfecb5d82
chore: bump serde-lite from 0.3 to 0.4. ( #737 )
2023-03-24 16:54:20 -04:00
Greg Johnston
665b0b8ed2
chore: make wasm-bindgen
dependency optional in leptos_reactive
( #723 )
2023-03-22 17:56:52 -04:00
Greg Johnston
42a58855a0
feat: add Scope::batch()
( #711 )
2023-03-20 08:29:18 -04:00
Greg Johnston
9d142758ec
feat: allow manual signal disposal before the scope is disposed ( #710 )
2023-03-19 21:40:16 -04:00
martin frances
ddd463748d
clippy: less .clone() calls, simpler pointer passing. ( #707 )
2023-03-19 15:30:12 -04:00
Greg Johnston
b988ee85f4
fix: leaking stored values ( #683 )
2023-03-14 11:06:36 -04:00
Greg Johnston
53ceca8ff8
feat: maintain order of sources and dependencies ( #678 )
2023-03-13 20:01:03 -04:00
Brett Etter
f2f9759138
fix: release mode ( #679 )
2023-03-13 20:00:40 -04:00
Greg Johnston
817152ff39
feat: new reactive system implementation ( #637 )
2023-03-13 17:58:00 -04:00
martin frances
604ba3ff90
clippy: signal_wrappers_read, was using .clone() when copy is available. ( #665 )
2023-03-12 14:52:13 -04:00
Charles Taylor
9d46b7bcb0
feat: impl Copy
& Clone
for MaybeSignal
( #660 )
2023-03-11 13:17:16 -05:00
martin frances
c9476af063
chore: bump bytecheck to 0.7, remove deprecated simdutf8_std. ( #647 )
...
* bump bytecheck to 0.7, remove deprecated simdutf8_std.
* When using rkyv, must use the appropiate CheckBytes.
2023-03-09 16:44:06 -05:00
martin frances
1a0e2b509e
chore: bump serde-wasm-bindgen to 0.5. ( #639 )
2023-03-08 19:12:30 -05:00
Greg Johnston
4e67b3aef8
CI: exclude rkyv
combos with other serialization traits ( #622 )
2023-03-03 15:48:06 -05:00
Greg Johnston
02e2948e00
fix: suppress warnings caused by resource loading in generate_route_list
( closes #582 ) ( #621 )
2023-03-03 13:20:38 -05:00
Azz
b153ab51ee
feat: support rkyv
encoding ( #577 )
2023-02-26 16:12:53 -05:00
Greg Johnston
e71779b8a6
fix: <Transition/>
with local_resource
( closes #562 ) ( #574 )
2023-02-24 19:51:03 -05:00
Denis Nazarov
efe29fd057
Relax Eq to PartialEq for create_slice() ( #570 )
...
Co-authored-by: Denis Nazarov <denis.nazarov@gmail.com>
2023-02-23 08:00:01 -05:00
Greg Johnston
bf246a62e7
fix: issue with local resources blocking <Suspense/>
fragments from resolving ( #561 )
2023-02-21 06:29:29 -05:00
Greg Johnston
b8acfd758d
fix: remove unnecessary log ( #560 )
2023-02-20 21:34:09 -05:00
Greg Johnston
4ff08f042b
change: pass Scope
as argument into Resource::read()
and Resource::with()
( #542 )
2023-02-19 19:52:31 -05:00