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
Greg Johnston
b861f84e40
Fix a large number of small issues in docs ( #386 )
...
* Fix example links in docs
* Restore missing CSR READMEs
* Document need to enable features on `leptos_router` and `leptos_meta`
* Add "Is it production ready?" to FAQs
* Document which types are provided as contexts in server integrations
* Fix broken links and other issues in docs
2023-01-26 21:44:01 -05:00
Greg Johnston
f300e7fd41
implements From<Signal<T>>
for MaybeSignal<T>
( #384 )
2023-01-26 21:43:21 -05:00
Greg Johnston
fc7199f188
Fix context in outlets ( #374 )
...
* Add `Scope::parent()` to make access to parent `Scope` possible.
* Handle context properly in nested routes
2023-01-25 22:02:43 -05:00
Martin
8496bd59ce
leptos_reactive base64 bump version to 0.21.
2023-01-22 22:15:54 +00:00
Greg Johnston
bc0cd5d0ba
Minimize panics when runtime has already been disposed (e.g., in streaming SSR)
2023-01-17 13:11:35 -05:00
Greg Johnston
1f39299303
Fix doctest in create_slice
and edit doc comment slightly
2023-01-14 08:17:27 -05:00
Ramon Klass
9180aaad7e
create_slice: actual documentation
2023-01-12 16:51:37 +01:00
Ramon Klass
89be6bc68e
removed Debug from create_slice
2023-01-12 16:30:56 +01:00
Ramon Klass
56426170b0
remove Debug from create_memo
2023-01-12 16:30:56 +01:00
Ramon Klass
0571ea4103
create_slice for RwSignal with 2 closures
2023-01-12 16:30:56 +01:00
Martin
1621b86d8f
Minor: "leptos.workspace = true" is invalid.
2023-01-11 17:09:10 +00:00
Greg Johnston
ad34a5d9c6
Update name to leptos-rs/leptos
2023-01-09 21:59:13 -05:00
Greg Johnston
8a8d7cbe1b
Fix forbid_unsafe
in a frustratingly-stupid way
2023-01-09 20:07:16 -05:00