Skip to content

Commit

Permalink
change: rename from experimental-islands to islands
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj committed Nov 15, 2024
1 parent 1c26261 commit f749c6e
Show file tree
Hide file tree
Showing 7 changed files with 2,860 additions and 9 deletions.
2 changes: 1 addition & 1 deletion integrations/axum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! - `default`: supports running in a typical native Tokio/Axum environment
//! - `wasm`: with `default-features = false`, supports running in a JS Fetch-based
//! environment
//! - `experimental-islands`: activates Leptos [islands mode](https://leptos-rs.github.io/leptos/islands.html)
//! - `islands`: activates Leptos [islands mode](https://leptos-rs.github.io/leptos/islands.html)
//!
//! ### Important Note
//! Prior to 0.5, using `default-features = false` on `leptos_axum` simply did nothing. Now, it actively
Expand Down
4 changes: 2 additions & 2 deletions leptos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ tracing = [
]
nonce = ["base64", "rand"]
spin = ["leptos-spin-macro"]
experimental-islands = ["leptos_macro/experimental-islands", "dep:serde_json"]
islands = ["leptos_macro/islands", "dep:serde_json"]
trace-component-props = [
"leptos_macro/trace-component-props",
"leptos_dom/trace-component-props"
Expand All @@ -104,7 +104,7 @@ denylist = [
"rkyv", # was causing clippy issues on nightly
"trace-component-props",
"spin",
"experimental-islands",
"islands",
]
skip_feature_sets = [
["csr", "ssr"],
Expand Down
2 changes: 1 addition & 1 deletion leptos/src/hydration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub fn AutoReload(
pub fn HydrationScripts(
/// Configuration options for this project.
options: LeptosOptions,
/// Should be `true` to hydrate in `experimental-islands` mode.
/// Should be `true` to hydrate in `islands` mode.
#[prop(optional)]
islands: bool,
/// A base url, not including a trailing slash
Expand Down
4 changes: 2 additions & 2 deletions leptos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,10 +318,10 @@ pub mod task {
}

// these reexports are used in islands
#[cfg(feature = "experimental-islands")]
#[cfg(feature = "islands")]
#[doc(hidden)]
pub use serde;
#[cfg(feature = "experimental-islands")]
#[cfg(feature = "islands")]
#[doc(hidden)]
pub use serde_json;
#[cfg(feature = "tracing")]
Expand Down
Loading

0 comments on commit f749c6e

Please sign in to comment.