Skip to content

Commit

Permalink
Fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Apr 2, 2022
1 parent 73280cd commit a339020
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/yew/src/html/component/lifecycle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -546,10 +546,7 @@ impl RenderRunner {
ref root,
} => {
// We schedule a "first" render to run immediately after hydration,
// for the following reason:
// 1. Fix NodeRef (first_node and next_sibling)
// 2. Switch from fallback UI to children UI for <Suspense /> component (if it is
// not meant to be suspended.).
// to fix NodeRefs (first_node and next_sibling).
scheduler::push_component_first_render(
state.comp_id,
Box::new(RenderRunner {
Expand Down

0 comments on commit a339020

Please sign in to comment.