Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/yew-agent/src/reactor/bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use crate::Codec;

/// A connection manager for components interaction with oneshot workers.
///
/// As this type implements [Stream] + [Sink], it can be splitted with [`StreamExt::split`].
/// As this type implements [Stream] + [Sink], it can be split with [`StreamExt::split`].
pub struct ReactorBridge<R>
where
R: Reactor + 'static,
Expand Down
4 changes: 2 additions & 2 deletions packages/yew/src/dom_bundle/subtree_root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ impl SubtreeData {
&'s self,
event: &'s Event,
) -> Option<impl 's + Iterator<Item = (&'s SubtreeData, Element)>> {
// Note: the event is not necessarily indentically the same object for all installed
// Note: the event is not necessarily identically the same object for all installed
// handlers hence this cache can be unreliable. Hence the cached repsonsible_tree_id
// might be missing. On the other hand, due to event retargeting at shadow roots,
// the cache might be wrong! Keep in mind that we handle events in the capture
Expand All @@ -423,7 +423,7 @@ impl SubtreeData {
// that is responsible for handling this event, and it's not this subtree.
return None;
}
// We're tasked with finding the subtree that is reponsible with handling the event, and/or
// We're tasked with finding the subtree that is responsible with handling the event, and/or
// run the handling if that's `self`.
let target = event_path.get(0).dyn_into::<Element>().ok()?;
let should_bubble = BUBBLE_EVENTS.load(Ordering::Relaxed) && event.bubbles();
Expand Down
2 changes: 1 addition & 1 deletion packages/yew/src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ impl Scheduler {

// Priority rendering
//
// This is needed for hydration susequent render to fix node refs.
// This is needed for hydration subsequent render to fix node refs.
if let Some(r) = self.render_priority.pop_topmost() {
to_run.push(r);
return;
Expand Down
Loading