Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove repetitive words #3628

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/function_todomvc/src/components/entry.rs
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
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
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
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
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