Skip to content

Commit

Permalink
Docs: Fix bullet point formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
raquo committed Jan 16, 2025
1 parent da5ff49 commit e62a7df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/main/scala/com/raquo/laminar/modifiers/Binder.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import com.raquo.airstream.ownership.DynamicSubscription
import com.raquo.laminar.nodes.ReactiveElement

/** Binder is a Modifier that creates a subscription when invoked.
* - Note, this Modifier is NOT idempotent:
* Calling it N times will create and bind N subscriptions
* - `onMountBind` can take care of this, see the docs
* - Note, this Modifier is NOT idempotent:
* Calling it N times will create and bind N subscriptions
* - `onMountBind` can take care of this, see the docs
*/
trait Binder[-El <: ReactiveElement.Base] extends Modifier[El] {

Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/com/raquo/laminar/nodes/ChildNode.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ with Modifier[ReactiveElement[dom.Element]] {
}

/** This is called as a notification, BEFORE changes to the real DOM or to the Scala DOM tree are applied.
* - Corollary: When this is called, this node's maybeParent reference has not been updated yet.
* - Corollary: When this is called, this node's maybeParent reference has not been updated yet.
*
* Default implementation is a noop. You can override this to implement DOM lifecycle hooks similar to
* React's `componentWillUnmount`.
Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/com/raquo/laminar/nodes/RootNode.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import scala.scalajs.js
*
* If you are trying to create a Laminar RootNode inside a
* React.js component, make sure to call:
* - mount() when componentDidMount is due, and
* - unmount() when componentWillUnmount is due.
* - mount() when componentDidMount is due, and
* - unmount() when componentWillUnmount is due.
*
* Other libraries' integration follows the same principle.
*/
Expand Down

0 comments on commit e62a7df

Please sign in to comment.