Skip to content

Commit 541b54e

Browse files
committed
Lazy Load the Post List With Async's Feature
1 parent c58b4f0 commit 541b54e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/getting-started/quick-start.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,14 +1154,16 @@ Ok, let's lazy load the list of posts in order to speed up initial page load whe
11541154

11551155
Relax, it's super simple:
11561156

1157-
## Lazy load the post list with async's `defer` feature
1157+
## Lazy Load the Post List With Async's `defer` Feature
11581158

11591159
* [x] Wrap an `async` component around the `cable` component
11601160
* [x] Configure this `async` to defer its rendering
11611161
* [x] Move the ActiveRecord query out of the `prepare` method into a helper method
11621162

11631163
`app/matestack/twitter_clone/posts/index.rb`
11641164

1165+
# todo: indetation of private sections
1166+
11651167
```ruby
11661168
class TwitterClone::Pages::Posts::Index < Matestack::Ui::Page
11671169

0 commit comments

Comments
 (0)