Skip to content

Commit

Permalink
Remove extra word "to"
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepmunroe committed Oct 7, 2023
1 parent 58dff4a commit c52bb12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/html/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ This would work just fine for a list of views as each method can be called multi

One caveat of defining the view this way is `title` and `body` could be called in any order. This offers flexibility, but what if you need to make sure your markup is output in a consistent order?

First, include `Phlex::DeferredRender` in your view. This changes the behavior of `template` so it does not receive a block and is yielded early. Then use public methods to save blocks, passing them to back to the `template` at render time.
First, include `Phlex::DeferredRender` in your view. This changes the behavior of `template` so it does not receive a block and is yielded early. Then use public methods to save blocks, passing them back to the `template` at render time.

```phlex
example do |e|
Expand Down

0 comments on commit c52bb12

Please sign in to comment.