Greg Johnston
855a3c65c0
chore: remove newly-detected unused tuple fields ( #2169 )
2024-01-06 18:25:20 -05:00
Greg Johnston
33590d487b
chore: clean up warnings causing CI issues ( #2119 )
2023-12-18 08:15:46 -05:00
Greg Johnston
a4bd7c4274
chore: don't warn when stabilized features are used ( #2118 )
2023-12-17 20:34:32 -05:00
itowlson
9bbd881757
feat: support spawn_local
on Spin WASI ( #2066 )
...
Signed-off-by: itowlson <ivan.towlson@fermyon.com>
2023-12-01 15:34:29 -05:00
Greg Johnston
061213ca78
fix: correctly mark Trigger
as clean when it is re-tracked ( closes #1948 , #2048 ) ( #2059 )
2023-11-22 09:29:25 -05:00
Greg Johnston
cb6267ad08
feat: <Provider/>
component to fix context shadowing ( closes #2038 ) ( #2040 )
2023-11-19 20:24:36 -05:00
martin frances
362e3bc603
chore: stop using std::fmt, instead used core::fmt. ( #2033 )
2023-11-17 15:36:13 -05:00
blorbb
24febe11f3
feat: impl Default
for TextProp
( #2016 )
2023-11-17 15:20:03 -05:00
Greg Johnston
61c7ff4256
docs: add note about context shadowing ( closes #1986 ) ( #2015 )
2023-11-10 18:04:22 -05:00
Greg Johnston
860d887931
chore: remove duplicate benchmarks in leptos_reactive
( #2014 )
2023-11-10 15:53:32 -05:00
Greg Johnston
b1e8105442
fix: treat Suspense as containing a Set of resources, not a counter (closes Suspense
only working with a single Resource
( closes #1805 , closes #1905 ) ( #1985 )
2023-11-04 11:03:36 -04:00
SleeplessOne1917
4029de2d42
feat: impl IntoAttribute
for TextProp
( #1925 )
2023-10-27 17:10:09 -04:00
Ari Seyhun
d10a566e48
feat: add new
method to Trigger
( #1935 )
2023-10-27 13:48:15 -04:00
Greg Johnston
6361985fb1
fix: relax 'static
bound on as_child_of_current_owner
( #1955 )
2023-10-27 13:20:34 -04:00
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