diff --git a/examples/function_todomvc/src/components/entry.rs b/examples/function_todomvc/src/components/entry.rs index 4df733ff159..98f04444c03 100644 --- a/examples/function_todomvc/src/components/entry.rs +++ b/examples/function_todomvc/src/components/entry.rs @@ -19,7 +19,7 @@ pub fn entry(props: &EntryProps) -> Html { let mut class = Classes::from("todo"); // We use the `use_bool_toggle` hook and set the default value to `false` - // as the default we are not editing the the entry. When we want to edit the + // as the default we are not editing the entry. When we want to edit the // entry we can call the toggle method on the `UseBoolToggleHandle` // which will trigger a re-render with the toggle value being `true` for that // render and after that render the value of toggle will be flipped back to diff --git a/packages/yew/src/dom_bundle/btag/mod.rs b/packages/yew/src/dom_bundle/btag/mod.rs index a376d3b1fc9..244fc1a02a1 100644 --- a/packages/yew/src/dom_bundle/btag/mod.rs +++ b/packages/yew/src/dom_bundle/btag/mod.rs @@ -985,7 +985,7 @@ mod tests { let elem_vtag = assert_vtag(next_elem); // Sync happens here - // this should remove the the "disabled" attribute + // this should remove the "disabled" attribute elem_vtag.reconcile_node(&root, &scope, &parent, DomSlot::at_end(), &mut elem); assert_eq!( diff --git a/packages/yew/src/html/component/marker.rs b/packages/yew/src/html/component/marker.rs index abd2d152d5e..f7d8e2c5cfa 100644 --- a/packages/yew/src/html/component/marker.rs +++ b/packages/yew/src/html/component/marker.rs @@ -5,7 +5,7 @@ use crate::html::{BaseComponent, ChildrenProps, Html}; /// A Component to represent a component that does not exist in current implementation. /// -/// During Hydration, Yew expected the Virtual DOM hierarchy to match the the layout used in +/// During Hydration, Yew expected the Virtual DOM hierarchy to match the layout used in /// server-side rendering. However, sometimes it is possible / reasonable to omit certain components /// from one side of the implementation. This component is used to represent a component as if a /// component "existed" in the place it is defined. diff --git a/website/versioned_docs/version-0.20/concepts/agents.mdx b/website/versioned_docs/version-0.20/concepts/agents.mdx index 278875cb04d..6fb3066ee8b 100644 --- a/website/versioned_docs/version-0.20/concepts/agents.mdx +++ b/website/versioned_docs/version-0.20/concepts/agents.mdx @@ -36,7 +36,7 @@ The code can be found in the tag of the svgs. - Private - Spawn a new agent in a web worker for every new bridge. This is good for moving shared but independent behavior that communicates with the browser out of components. When - the the connected bridge is dropped, the agent will disappear. + the connected bridge is dropped, the agent will disappear. - Global \(WIP\) diff --git a/website/versioned_docs/version-0.20/more/deployment.mdx b/website/versioned_docs/version-0.20/more/deployment.mdx index 374bf4c4294..2e664c81436 100644 --- a/website/versioned_docs/version-0.20/more/deployment.mdx +++ b/website/versioned_docs/version-0.20/more/deployment.mdx @@ -22,7 +22,7 @@ An application with Yew router is built as a [Single Page Application (SPA)](htt But on a fresh load, such as when navigating to the page by entering it in the address bar or refreshing the page, all of these actions are handled by the browser itself, outside the running application. The browser makes a direct request to the server for that URL, bypassing the router. A wrongly configured server would return with status 404 - Not Found. -By returning `index.html` instead, the app loads as it normally would as if request was for `/`, until the router notices that the the route is `/show/42` and displays the appropriate contents. +By returning `index.html` instead, the app loads as it normally would as if request was for `/`, until the router notices that the route is `/show/42` and displays the appropriate contents. ### Configuring correct MIME-type for Web Assembly asset.