Greg Johnston
5f53a1459e
v0.5.2
2023-10-24 21:03:29 -04:00
Greg Johnston
e2842ede44
chore: fix broken doctests in leptos_reactive
2023-10-24 15:35:16 -04:00
nikhilraojl
7771052db8
docs: clarify docs on resource source signal ( #1918 )
2023-10-24 14:29:09 -04:00
martin frances
d999ff857d
chore: remove cargo doc
lint warnings ( #1936 )
2023-10-24 14:28:01 -04:00
Marc-Stefan Cassola
e2f6780de4
docs: added Callback
to documentation and examples. ( #1926 )
...
* added Callback to documentation and examples.
Also reduced code duplication in Callback implementation.
* added back the closure event callback example
2023-10-24 14:14:51 -04:00
Greg Johnston
4a83ffca6f
fix: try_update()
and try_set()
on Resource
should not panic ( closes #1915 ) ( #1916 )
2023-10-19 15:56:57 -04:00
Greg Johnston
4a4e16c206
chore: tweak tracing levels ( #1901 )
2023-10-17 12:44:37 -04:00
Henry Rovnyak
11f6a5d341
fix: remove Clone
bound for SignalWith
for Resource
( #1895 )
2023-10-16 14:37:38 -04:00
Greg Johnston
17b3300351
fix: ensure there's no reactive tracking in an on_cleanup
( closes #1882 ) ( #1889 )
2023-10-12 07:36:07 -04:00
luoxiaozero
200304402f
feat: implement Default
for RwSignal
and StoredValue
( #1877 )
2023-10-11 12:05:05 -04:00
Greg Johnston
4baa75ccf0
fix: correctly untrack in .try_with_untracked
( closes #1880 ) ( #1881 )
2023-10-11 12:04:16 -04:00
hiraginoyuki
c7607f6fcc
fix: documentation in leptos_reactive::Trigger
( #1844 )
2023-10-07 10:45:27 -04:00
Greg Johnston
cc93651bc9
fix: panic during generate_route_list
if you immediately dispatch an action ( #1853 )
2023-10-06 07:29:10 -04:00
blorbb
d0295bae01
feat: support stored values in with!
and update!
( #1836 )
2023-10-05 21:14:33 -04:00
Paul Wagener
4f649e020c
feat: allow disposing of Signal & StoredValue ( #1849 )
2023-10-05 21:02:50 -04:00
Greg Johnston
6f9c40b0a8
fix: correctly handle Suspense
with local resources during hydration ( closes #1823 ) ( #1824 )
2023-10-02 18:02:35 -04:00
Greg Johnston
fcd1028fb7
docs: missing module-level docs for Callback
2023-09-30 15:52:47 -04:00
Greg Johnston
dc429e33ff
fix: missing Copy
impl on Callback
2023-09-30 15:52:11 -04:00
Greg Johnston
fa2be59895
feat: better error handling for ScopedFuture
( #1810 )
2023-09-29 17:12:56 -04:00
Greg Johnston
7378b8581a
fix: broken Suspense
when a resource loads immediately ( closes #1805 ) ( #1809 )
2023-09-29 14:44:49 -04:00
Antonin Peronnet
bd4d2202ea
feat: standardize on a Callback
type that is Copy
( #1795 )
2023-09-29 13:04:53 -04:00
Greg Johnston
870808e63f
feat: implement From<Fn() -> T>
for Signal<T>
( #1801 )
2023-09-29 09:13:27 -04:00
jquesada2016
609afce544
feat: Scoped Futures ( #1761 )
2023-09-28 15:20:18 -04:00
Sean Aye
50678dafe1
feat: add JS Fetch integration support ( #1554 )
2023-09-25 07:51:25 -04:00
Greg Johnston
ae986e71fa
change: only run create_local_resource
in the browser ( #1777 )
2023-09-23 11:10:50 -04:00
Danik Vitek
baa5ea83fa
fix: reimplement Oco
cloning ( #1749 )
2023-09-22 13:31:04 -04:00
Gabriel de Perthuis
d651400fa2
docs: better document the interaction of SsrModes with blocking resources ( #1765 )
...
Meant to address users making the same mistake as
https://github.com/leptos-rs/leptos/issues/1119
2023-09-22 12:58:28 -04:00
Greg Johnston
f2117b1186
fix: restore missing run_as_child
2023-09-20 19:37:39 -04:00
Greg Johnston
726cf47f17
Merge pull request #1758 from leptos-rs/sus2
...
Fix Suspense issues on subsequent navigations
2023-09-20 13:32:35 -04:00
Greg Johnston
1759a3e149
feat: correctly use_context
between islands ( #1747 )
2023-09-19 21:16:47 -04:00
Greg Johnston
43b58bfba9
Revert "fix: #1742 part 2 (Suspense
running children a second time => extra animations)"
...
This reverts commit fafb6c01da
.
2023-09-19 21:04:02 -04:00
Greg Johnston
fafb6c01da
fix : #1742 part 2 (Suspense
running children a second time => extra animations)
2023-09-19 10:32:25 -04:00
Greg Johnston
661a038780
fix: Resource::with()
(pt. 3!) — closes #1751 without breaking #1742 or #1711 ( #1752 )
2023-09-18 22:45:50 -04:00
Greg Johnston
2b59ae18bc
fix: Resource::with()
pt. 2 — ( closes #1742 without reopening #1711 ) ( #1750 )
2023-09-18 16:13:48 -04:00
Greg Johnston
20e5db22b8
fix: replace uses of create_effect
internally with create_isomorphic_effect
( closes #1709 ) ( #1723 )
2023-09-15 17:23:36 -04:00
Greg Johnston
54e8a536c4
fix: correctly register Resource::with()
( closes #1711 ) ( #1726 )
2023-09-15 16:49:28 -04:00
Greg Johnston
1db3e9c686
feat: implement Serialize
and Deserialize
for Oco<_>
( #1720 )
2023-09-15 15:16:35 -04:00
blorbb
2fd6e0a2a8
feat: support move
on with!
macros ( #1717 )
2023-09-15 12:58:30 -04:00
blorbb
00f8c9583d
feat: with!
macros ( #1693 )
2023-09-11 21:01:50 -04:00
Greg Johnston
a317874f93
change: run effects after a tick ( #1680 )
2023-09-11 21:01:35 -04:00
martin frances
1719c0d352
chore: cleared "cargo doc" issue. ( #1687 )
...
warning: Rust code block is empty
--> leptos_reactive/src/memo.rs:209:9
|
209 | /// ```
| ^^^
|
= note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default
help: mark blocks that do not contain Rust code as text
|
209 | /// ```text
| ++++
2023-09-10 15:17:36 -04:00
Greg Johnston
238d61ce1e
feat: experimental islands ( #1660 )
2023-09-08 16:33:00 -04:00
Greg Johnston
53ec7ed272
feat: add Effect::with_value_mut()
2023-09-04 11:14:07 -04:00
Greg Johnston
d98a577740
feat: add Rustier interfaces for reactive system types
2023-09-04 11:05:23 -04:00
jquesada2016
fd834f48c2
change: rename .derived_signal()
and .mapped_signal_setter()
methods ( #1637 )
2023-09-04 08:41:41 -04:00
Greg Johnston
7be65a37c6
fix: versioned resources never decrement Suspense ( closes #1640 ) ( #1641 )
2023-09-03 20:21:16 -04:00
Greg Johnston
2ca24883ac
fix: memoize Suspense readiness to avoid rerendering children/fallback ( #1642 )
2023-09-03 20:07:20 -04:00
Danik Vitek
793c191619
feat: Oco
(Owned Clones Once) smart pointer ( #1480 )
2023-08-26 11:43:51 -04:00
Greg Johnston
8f067dcde7
chore: clear release-mode warnings
2023-08-25 17:16:00 -04:00
Greg Johnston
bef4d0dd3b
fix: resource loading signal pattern for subsequent hydration page loads
2023-08-25 16:00:47 -04:00