Download react-query/examples/angular/basic/src/app/app.component.html from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 553 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/angular/basic/src/app/app.component.html
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/angular/basic/src/app/app.component.html
-
curl -L -o app.component.html https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/angular/basic/src/app/app.component.html
553 Bytes
| <p> | |
| As you visit the posts below, you will notice them in a loading state the | |
| first time you load them. However, after you return to this list and click on | |
| any posts you have already visited again, you will see them load instantly and | |
| background refresh right before your eyes! | |
| <strong> | |
| (You may need to throttle your network speed to simulate longer loading | |
| sequences) | |
| </strong> | |
| </p> | |
| @if (postId() > -1) { | |
| <post [postId]="postId()" (setPostId)="postId.set($event)"></post> | |
| } @else { | |
| <posts (setPostId)="postId.set($event)" /> | |
| } | |