Skip to content

Commit

Permalink
Docs: fixed typo (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenyou authored Jul 9, 2024
1 parent 2ca18da commit 3eab6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2331,7 +2331,7 @@ All unmounting callbacks / effects are executed when the element is about to bec

### How Are Mount Events Propagated?

Every Laminar element starts its life unmounted: `div("Hello")`. This element has no parent specified, therefore it has no ancestors, and can't have an ancestor that is a mounted RootNode. This element still exists, but it's not present in the DOM, it's detached from teh DOM.
Every Laminar element starts its life unmounted: `div("Hello")`. This element has no parent specified, therefore it has no ancestors, and can't have an ancestor that is a mounted RootNode. This element still exists, but it's not present in the DOM, it's detached from the DOM.

We could mount this element directly: `render(appContainer, div("Hello"))` – but almost all the elements in your application are mounted indirectly, by setting their parent to an already mounted element. How do these elements know when they're being mounted, if their direct parent does not change?

Expand Down

0 comments on commit 3eab6fc

Please sign in to comment.