Skip to content

Commit

Permalink
remove repetitive words (#3628)
Browse files Browse the repository at this point in the history
Signed-off-by: gcmutator <329964069@qq.com>
  • Loading branch information
gcmutator committed Jul 26, 2024
1 parent d13ee88 commit 43a78bd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/function_todomvc/src/components/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/yew/src/dom_bundle/btag/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down
2 changes: 1 addition & 1 deletion packages/yew/src/html/component/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.20/concepts/agents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The code can be found in the <desc> 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\)

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.20/more/deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 43a78bd

Please sign in to comment.