`.
+/// it is wrapped in a `` unless `is_svg` is `true` in which case it's wrapped in a ``.
/// Setting `use_shadow` to `true` places the element in a shadow root to isolate styles.
#[cfg_attr(feature = "tracing", tracing::instrument(level = "trace", skip_all))]
#[component]
diff --git a/leptos_server/src/local_resource.rs b/leptos_server/src/local_resource.rs
index 4f9af28f6..b6f569234 100644
--- a/leptos_server/src/local_resource.rs
+++ b/leptos_server/src/local_resource.rs
@@ -64,7 +64,7 @@ impl ArcLocalResource {
pending().await
} else {
// LocalResources that are immediately available can cause a hydration error,
- // because the future *looks* like it is alredy ready (and therefore would
+ // because the future *looks* like it is already ready (and therefore would
// already have been rendered to html on the server), but in fact was ignored
// on the server. the simplest way to avoid this is to ensure that we always
// wait a tick before resolving any value for a localresource.
@@ -298,7 +298,7 @@ impl LocalResource {
pending().await
} else {
// LocalResources that are immediately available can cause a hydration error,
- // because the future *looks* like it is alredy ready (and therefore would
+ // because the future *looks* like it is already ready (and therefore would
// already have been rendered to html on the server), but in fact was ignored
// on the server. the simplest way to avoid this is to ensure that we always
// wait a tick before resolving any value for a localresource.
diff --git a/reactive_graph/src/computed/async_derived/async_derived.rs b/reactive_graph/src/computed/async_derived/async_derived.rs
index 6b4d2cc32..99f464c4c 100644
--- a/reactive_graph/src/computed/async_derived/async_derived.rs
+++ b/reactive_graph/src/computed/async_derived/async_derived.rs
@@ -29,7 +29,7 @@ use std::{
/// values that depend on it that it has changed.
///
/// This is an arena-allocated type, which is `Copy` and is disposed when its reactive
-/// [`Owner`](crate::owner::Owner) cleans up. For a reference-counted signal that livesas
+/// [`Owner`](crate::owner::Owner) cleans up. For a reference-counted signal that lives as
/// as long as a reference to it is alive, see [`ArcAsyncDerived`].
///
/// ## Examples
diff --git a/reactive_graph/src/computed/inner.rs b/reactive_graph/src/computed/inner.rs
index 84c43f52e..17355053d 100644
--- a/reactive_graph/src/computed/inner.rs
+++ b/reactive_graph/src/computed/inner.rs
@@ -15,7 +15,7 @@ pub struct MemoInner
where
S: Storage,
{
- /// Must always be aquired *after* the reactivity lock
+ /// Must always be acquired *after* the reactivity lock
pub(crate) value: Arc>>,
#[allow(clippy::type_complexity)]
pub(crate) fun: Arc) -> (T, bool) + Send + Sync>,
@@ -137,7 +137,7 @@ where
})
});
- // Two locks are aquired, so order matters.
+ // Two locks are acquired, so order matters.
let reactivity_lock = self.reactivity.write().or_poisoned();
{
// Safety: Can block endlessly if the user is has a ReadGuard on the value
diff --git a/reactive_graph/src/computed/memo.rs b/reactive_graph/src/computed/memo.rs
index fab52f0ce..0f88fc0e4 100644
--- a/reactive_graph/src/computed/memo.rs
+++ b/reactive_graph/src/computed/memo.rs
@@ -27,7 +27,7 @@ use std::{fmt::Debug, hash::Hash, panic::Location};
/// not re-run the calculation when a source signal changes until they are read again.
///
/// This is an arena-allocated type, which is `Copy` and is disposed when its reactive
-/// [`Owner`](crate::owner::Owner) cleans up. For a reference-counted signal that livesas
+/// [`Owner`](crate::owner::Owner) cleans up. For a reference-counted signal that lives as
/// as long as a reference to it is alive, see [`ArcMemo`].
///
/// ```
diff --git a/reactive_graph/src/owner.rs b/reactive_graph/src/owner.rs
index 880721397..1b1fbfbaa 100644
--- a/reactive_graph/src/owner.rs
+++ b/reactive_graph/src/owner.rs
@@ -1,4 +1,4 @@
-//! The reactive ownership model, which manages effect cancelation, cleanups, and arena allocation.
+//! The reactive ownership model, which manages effect cancellation, cleanups, and arena allocation.
#[cfg(feature = "hydration")]
use hydration_context::SharedContext;
@@ -32,7 +32,7 @@ pub use storage::*;
pub use stored_value::{store_value, FromLocal, StoredValue};
/// A reactive owner, which manages
-/// 1) the cancelation of [`Effect`](crate::effect::Effect)s,
+/// 1) the cancellation of [`Effect`](crate::effect::Effect)s,
/// 2) providing and accessing environment data via [`provide_context`] and [`use_context`],
/// 3) running cleanup functions defined via [`Owner::on_cleanup`], and
/// 4) an arena storage system to provide `Copy` handles via [`ArenaItem`], which is what allows
diff --git a/reactive_graph/src/send_wrapper_ext.rs b/reactive_graph/src/send_wrapper_ext.rs
index 21e986a0a..7c66a9d12 100644
--- a/reactive_graph/src/send_wrapper_ext.rs
+++ b/reactive_graph/src/send_wrapper_ext.rs
@@ -9,7 +9,7 @@ use std::{
/// An optional value that can always be sent between threads, even if its inner value
/// in the `Some(_)` case would not be threadsafe.
///
-/// This struct can be derefenced to `Option`.
+/// This struct can be dereferenced to `Option`.
///
/// If it has been given a local (`!Send`) value, that value is wrapped in a [`SendWrapper`], which
/// allows sending it between threads but will panic if it is accessed or updated from a
diff --git a/reactive_graph/src/signal/mapped.rs b/reactive_graph/src/signal/mapped.rs
index 29c3a90c2..7a11968fd 100644
--- a/reactive_graph/src/signal/mapped.rs
+++ b/reactive_graph/src/signal/mapped.rs
@@ -22,7 +22,7 @@ use std::{
/// allowing you to read or write directly to one of its field.
///
/// Tracking the mapped signal tracks changes to *any* part of the signal, and updating the signal notifies
-/// and notifies *all* depenendencies of the signal. This is not a mechanism for fine-grained reactive updates
+/// and notifies *all* dependencies of the signal. This is not a mechanism for fine-grained reactive updates
/// to more complex data structures. Instead, it allows you to provide a signal-like API for wrapped types
/// without exposing the original type directly to users.
pub struct ArcMappedSignal {
@@ -224,7 +224,7 @@ where
/// allowing you to read or write directly to one of its field.
///
/// Tracking the mapped signal tracks changes to *any* part of the signal, and updating the signal notifies
-/// and notifies *all* depenendencies of the signal. This is not a mechanism for fine-grained reactive updates
+/// and notifies *all* dependencies of the signal. This is not a mechanism for fine-grained reactive updates
/// to more complex data structures. Instead, it allows you to provide a signal-like API for wrapped types
/// without exposing the original type directly to users.
pub struct MappedSignal {
diff --git a/reactive_graph/src/traits.rs b/reactive_graph/src/traits.rs
index 4bb0c5287..43bb4b86f 100644
--- a/reactive_graph/src/traits.rs
+++ b/reactive_graph/src/traits.rs
@@ -643,7 +643,7 @@ pub trait IntoInner {
/// The type of the value contained in the signal.
type Value;
- /// Returns the inner value if this is the only reference to to the signal.
+ /// Returns the inner value if this is the only reference to the signal.
/// Otherwise, returns `None` and drops this reference.
/// # Panics
/// Panics if the inner lock is poisoned.
diff --git a/reactive_stores/README.md b/reactive_stores/README.md
index d8ca1271f..7897f7bd2 100644
--- a/reactive_stores/README.md
+++ b/reactive_stores/README.md
@@ -5,7 +5,7 @@ Stores are a data structure for nested reactivity.
The [`reactive_graph`](https://crates.io/crates/reactive_graph) crate provides primitives for fine-grained reactivity
via signals, memos, and effects.
-This crate extends that reactivity to support reactive access to nested dested, without the need to create nested signals.
+This crate extends that reactivity to support reactive access to nested structs, without the need to create nested signals.
Using the `#[derive(Store)]` macro on a struct creates a series of getters that allow accessing each field. Individual fields
can then be read as if they were signals. Changes to parents will notify their children, but changing one sibling field will
diff --git a/reactive_stores/src/option.rs b/reactive_stores/src/option.rs
index b78411b5a..978555ecc 100644
--- a/reactive_stores/src/option.rs
+++ b/reactive_stores/src/option.rs
@@ -24,7 +24,7 @@ where
///
/// This returns `None` if the subfield is currently `None`,
/// and a new store subfield with the inner value if it is `Some`. This can be used in some
- /// other reactive context, which will cause it to re-run if the field toggles betwen `None`
+ /// other reactive context, which will cause it to re-run if the field toggles between `None`
/// and `Some(_)`.
fn map(
self,
diff --git a/router/src/link.rs b/router/src/link.rs
index 76c05ef7e..31ce27467 100644
--- a/router/src/link.rs
+++ b/router/src/link.rs
@@ -295,7 +295,7 @@ mod tests {
assert!(!is_active_for("/else/where", "/", f));
assert!(!is_active_for("/no/where/", "/", f));
- // mismatch either side all cominations of trailing slashes
+ // mismatch either side all combinations of trailing slashes
assert!(!is_active_for("/level", "/item", f));
assert!(!is_active_for("/level", "/item/", f));
assert!(!is_active_for("/level/", "/item", f));
@@ -383,7 +383,7 @@ mod tests {
//
// assert!(is_active_for("/", "/item", true));
//
- // Perhaps there needs to be a flag such that aria-curently applies only the _same level_, e.g
+ // Perhaps there needs to be a flag such that aria-curent applies only the _same level_, e.g
// assert!(is_same_level("/", "/"))
// assert!(is_same_level("/", "/anything"))
// assert!(!is_same_level("/", "/some/"))
diff --git a/server_fn/tests/server_macro.rs b/server_fn/tests/server_macro.rs
index c117dbb97..8363dbbdd 100644
--- a/server_fn/tests/server_macro.rs
+++ b/server_fn/tests/server_macro.rs
@@ -1,4 +1,4 @@
-// The trybuild output has slightly different error message ouptut for
+// The trybuild output has slightly different error message output for
// different combinations of features. Since tests are run with `test-all-features`
// multiple combinations of features are tested. This ensures this file is only
// run when **only** the browser feature is enabled.
diff --git a/tachys/src/html/attribute/custom.rs b/tachys/src/html/attribute/custom.rs
index 717006fdf..eedde99c0 100644
--- a/tachys/src/html/attribute/custom.rs
+++ b/tachys/src/html/attribute/custom.rs
@@ -10,7 +10,7 @@ use crate::{
};
use std::{borrow::Cow, sync::Arc};
-/// Adds a custom attribute with any key-value combintion.
+/// Adds a custom attribute with any key-value combination.
#[inline(always)]
pub fn custom_attribute(key: K, value: V) -> CustomAttr
where
diff --git a/tachys/src/view/mod.rs b/tachys/src/view/mod.rs
index 8006d2228..550b154a5 100644
--- a/tachys/src/view/mod.rs
+++ b/tachys/src/view/mod.rs
@@ -476,7 +476,7 @@ pub enum Position {
LastChild,
}
-/// Declares that this type can be converted into some other type, which can be renderered.
+/// Declares that this type can be converted into some other type, which can be rendered.
pub trait IntoRender {
/// The renderable type into which this type can be converted.
type Output;