Open History to see the last commit
1<p>
2 As you visit the posts below, you will notice them in a loading state the
3 first time you load them. However, after you return to this list and click on
4 any posts you have already visited again, you will see them load instantly and
5 background refresh right before your eyes!
6 <strong>
7 (You may need to throttle your network speed to simulate longer loading
8 sequences)
9 </strong>
10</p>
11@if (postId() > -1) {
12 <post [postId]="postId()" (setPostId)="postId.set($event)"></post>
13} @else {
14 <posts (setPostId)="postId.set($event)" />
15}