mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
commit
bb40576bd5
14 changed files with 39 additions and 37 deletions
42
Cargo.toml
42
Cargo.toml
|
@ -40,36 +40,36 @@ members = [
|
|||
exclude = ["benchmarks", "examples", "projects"]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.7.0-beta4"
|
||||
version = "0.7.0-beta5"
|
||||
edition = "2021"
|
||||
rust-version = "1.76"
|
||||
|
||||
[workspace.dependencies]
|
||||
throw_error = { path = "./any_error/", version = "0.2.0-beta4" }
|
||||
throw_error = { path = "./any_error/", version = "0.2.0-beta5" }
|
||||
any_spawner = { path = "./any_spawner/", version = "0.1.0" }
|
||||
const_str_slice_concat = { path = "./const_str_slice_concat", version = "0.1.0" }
|
||||
either_of = { path = "./either_of/", version = "0.1.0" }
|
||||
hydration_context = { path = "./hydration_context", version = "0.2.0-beta4" }
|
||||
leptos = { path = "./leptos", version = "0.7.0-beta4" }
|
||||
leptos_config = { path = "./leptos_config", version = "0.7.0-beta4" }
|
||||
leptos_dom = { path = "./leptos_dom", version = "0.7.0-beta4" }
|
||||
leptos_hot_reload = { path = "./leptos_hot_reload", version = "0.7.0-beta4" }
|
||||
leptos_integration_utils = { path = "./integrations/utils", version = "0.7.0-beta4" }
|
||||
leptos_macro = { path = "./leptos_macro", version = "0.7.0-beta4" }
|
||||
leptos_router = { path = "./router", version = "0.7.0-beta4" }
|
||||
leptos_router_macro = { path = "./router_macro", version = "0.7.0-beta4" }
|
||||
leptos_server = { path = "./leptos_server", version = "0.7.0-beta4" }
|
||||
leptos_meta = { path = "./meta", version = "0.7.0-beta4" }
|
||||
next_tuple = { path = "./next_tuple", version = "0.1.0-beta4" }
|
||||
hydration_context = { path = "./hydration_context", version = "0.2.0-beta5" }
|
||||
leptos = { path = "./leptos", version = "0.7.0-beta5" }
|
||||
leptos_config = { path = "./leptos_config", version = "0.7.0-beta5" }
|
||||
leptos_dom = { path = "./leptos_dom", version = "0.7.0-beta5" }
|
||||
leptos_hot_reload = { path = "./leptos_hot_reload", version = "0.7.0-beta5" }
|
||||
leptos_integration_utils = { path = "./integrations/utils", version = "0.7.0-beta5" }
|
||||
leptos_macro = { path = "./leptos_macro", version = "0.7.0-beta5" }
|
||||
leptos_router = { path = "./router", version = "0.7.0-beta5" }
|
||||
leptos_router_macro = { path = "./router_macro", version = "0.7.0-beta5" }
|
||||
leptos_server = { path = "./leptos_server", version = "0.7.0-beta5" }
|
||||
leptos_meta = { path = "./meta", version = "0.7.0-beta5" }
|
||||
next_tuple = { path = "./next_tuple", version = "0.1.0-beta5" }
|
||||
oco_ref = { path = "./oco", version = "0.2.0" }
|
||||
or_poisoned = { path = "./or_poisoned", version = "0.1.0" }
|
||||
reactive_graph = { path = "./reactive_graph", version = "0.1.0-beta4" }
|
||||
reactive_stores = { path = "./reactive_stores", version = "0.1.0-beta4" }
|
||||
reactive_stores_macro = { path = "./reactive_stores_macro", version = "0.1.0-beta4" }
|
||||
server_fn = { path = "./server_fn", version = "0.7.0-beta4" }
|
||||
server_fn_macro = { path = "./server_fn_macro", version = "0.7.0-beta4" }
|
||||
server_fn_macro_default = { path = "./server_fn/server_fn_macro_default", version = "0.7.0-beta4" }
|
||||
tachys = { path = "./tachys", version = "0.1.0-beta4" }
|
||||
reactive_graph = { path = "./reactive_graph", version = "0.1.0-beta5" }
|
||||
reactive_stores = { path = "./reactive_stores", version = "0.1.0-beta5" }
|
||||
reactive_stores_macro = { path = "./reactive_stores_macro", version = "0.1.0-beta5" }
|
||||
server_fn = { path = "./server_fn", version = "0.7.0-beta5" }
|
||||
server_fn_macro = { path = "./server_fn_macro", version = "0.7.0-beta5" }
|
||||
server_fn_macro_default = { path = "./server_fn/server_fn_macro_default", version = "0.7.0-beta5" }
|
||||
tachys = { path = "./tachys", version = "0.1.0-beta5" }
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "throw_error"
|
||||
version = "0.2.0-beta4"
|
||||
version = "0.2.0-beta5"
|
||||
authors = ["Greg Johnston"]
|
||||
license = "MIT"
|
||||
readme = "../README.md"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "hydration_context"
|
||||
version = "0.2.0-beta4"
|
||||
version = "0.2.0-beta5"
|
||||
authors = ["Greg Johnston"]
|
||||
license = "MIT"
|
||||
readme = "../README.md"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "leptos_macro"
|
||||
version = "0.7.0-beta4"
|
||||
version = "0.7.0-beta5"
|
||||
authors = ["Greg Johnston"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/leptos-rs/leptos"
|
||||
|
|
|
@ -81,13 +81,15 @@ where
|
|||
let is_ready = initial.is_some();
|
||||
|
||||
let refetch = ArcRwSignal::new(0);
|
||||
let source = ArcMemo::new(move |_| source());
|
||||
let source = ArcMemo::new({
|
||||
let refetch = refetch.clone();
|
||||
move |_| (refetch.get(), source())
|
||||
});
|
||||
let fun = {
|
||||
let source = source.clone();
|
||||
let refetch = refetch.clone();
|
||||
move || {
|
||||
refetch.track();
|
||||
fetcher(source.get())
|
||||
let (_, source) = source.get();
|
||||
fetcher(source)
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "leptos_meta"
|
||||
version = "0.7.0-beta4"
|
||||
version = "0.7.0-beta5"
|
||||
authors = ["Greg Johnston"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/leptos-rs/leptos"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "next_tuple"
|
||||
version = "0.1.0-beta4"
|
||||
version = "0.1.0-beta5"
|
||||
authors = ["Greg Johnston"]
|
||||
license = "MIT"
|
||||
readme = "../README.md"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "reactive_graph"
|
||||
version = "0.1.0-beta4"
|
||||
version = "0.1.0-beta5"
|
||||
authors = ["Greg Johnston"]
|
||||
license = "MIT"
|
||||
readme = "../README.md"
|
||||
|
|
|
@ -582,7 +582,7 @@ impl<T, S> Dispose for StoredValue<T, S> {
|
|||
#[inline(always)]
|
||||
#[track_caller]
|
||||
#[deprecated(
|
||||
since = "0.7.0-beta4",
|
||||
since = "0.7.0-beta5",
|
||||
note = "This function is being removed to conform to Rust idioms. Please \
|
||||
use `StoredValue::new()` or `StoredValue::new_local()` instead."
|
||||
)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "reactive_stores"
|
||||
version = "0.1.0-beta4"
|
||||
version = "0.1.0-beta5"
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "reactive_stores_macro"
|
||||
version = "0.1.0-beta4"
|
||||
version = "0.1.0-beta5"
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "leptos_router"
|
||||
version = "0.7.0-beta4"
|
||||
version = "0.7.0-beta5"
|
||||
authors = ["Greg Johnston", "Ben Wishovich"]
|
||||
license = "MIT"
|
||||
readme = "../README.md"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "leptos_router_macro"
|
||||
version = "0.7.0-beta4"
|
||||
version = "0.7.0-beta5"
|
||||
authors = ["Greg Johnston", "Ben Wishovich"]
|
||||
license = "MIT"
|
||||
readme = "../README.md"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "tachys"
|
||||
version = "0.1.0-beta4"
|
||||
version = "0.1.0-beta5"
|
||||
authors = ["Greg Johnston"]
|
||||
license = "MIT"
|
||||
readme = "../README.md"
|
||||
|
|
Loading…
Reference in a new issue