Skip to content

Commit

Permalink
Fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Apr 22, 2022
1 parent c07e60f commit d95d994
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/yew/src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ impl Scheduler {
//
// Should be processed one at time, because they can spawn more create and rendered events
// for their children.
//
// To be replaced with BTreeMap::pop_first once it is stable.
if let Some(r) = self
.render_first
.keys()
Expand All @@ -241,8 +243,7 @@ impl Scheduler {

// Priority rendering
//
// This is needed for certain actions.
// suspense revealing, hydration susequent rendering, etc.
// This is needed for hydration susequent render to fix node refs.
#[cfg(feature = "hydration")]
{
if let Some(r) = self
Expand Down

0 comments on commit d95d994

Please sign in to comment.