Download react-query/examples/angular/basic-persister/src/app/app.component.html from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/angular/basic-persister/src/app/app.component.html
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/angular/basic-persister/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-persister/src/app/app.component.html
351 Bytes
| <p> | |
| Try to mock offline behavior with the button in the devtools. You can navigate | |
| around as long as there is already data in the cache. You'll get a refetch as | |
| soon as you go "online" again. | |
| </p> | |
| @if (postId() > -1) { | |
| <post [postId]="postId()" (setPostId)="postId.set($event)"></post> | |
| } @else { | |
| <posts (setPostId)="postId.set($event)" /> | |
| } | |