Commit graph

283 commits

Author SHA1 Message Date
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
Greg Johnston
20f24d2f3a
fix: building leptos_reactive in release mode (#540) 2023-02-18 12:45:58 -05:00
jquesada2016
f2f52b2533
change: move signal method implementations into traits in signal prelude (#490) 2023-02-18 07:30:03 -05:00
Greg Johnston
586f524015
feature: in-order streaming and async rendering (#496) 2023-02-17 17:31:32 -05:00
Greg Johnston
00a796d204
change: tweak API of Errors and implement IntoIter (#522) 2023-02-15 14:03:16 -05:00
g-re-g
51e11e756a
Typos and a small cleanup (#509) 2023-02-12 18:11:31 -05:00
Greg Johnston
1dbcfe2861
change: reorganize module exports and reexports (#503) 2023-02-12 17:04:36 -05:00
Greg Johnston
6bab4ad966
apply new formatting everywhere (#502) 2023-02-11 14:30:06 -05:00
Greg Johnston
cf7deaaea3
fix: proper disposal of nested route scopes (#499) 2023-02-11 14:12:59 -05:00
Greg Johnston
4759dfcb60 missing ; 2023-02-08 14:34:57 -05:00
Greg Johnston
ca9419b53f
fix: fix debug_warn behavior in reactive crate and remove log dependency (#491) 2023-02-08 07:04:01 -05:00
g-re-g
7f77910e91
impl From<&str> for MaybeSignal<String> (#472) 2023-02-04 16:47:40 -05:00
Roland Fredenhagen
45275ff8d4
impl Default for MaybeSignal (#464) 2023-02-04 10:01:55 -05:00
Greg Johnston
6d0d70cd17
perf: further reduce WASM binary size by ~5-7% (#459)
* Update `leptos_router` docs
* Further reducing WASM bundle sizes
2023-02-03 17:38:44 -05:00
Greg Johnston
05277f03b6
fix: successfully pass context to nested routes via <Outlet/> (#447) 2023-02-02 21:00:32 -05:00
starmaker
e2b1365e46
Implemented update_returning for StoredValue (#419) 2023-01-31 17:40:39 -05:00