Skip to content

Commit 753e6f4

Browse files
jesusrealthePunderWoman
authored andcommitted
docs: update resource.md (angular#58795)
PR Close angular#58795
1 parent cc239e3 commit 753e6f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adev/src/content/guide/signals/resource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const userResource = resource({
2323
loader: ({request}) => fetchUser(request),
2424
});
2525

26-
// Created a computed based on the result of the resource's loader function.
26+
// Create a computed signal based on the result of the resource's loader function.
2727
const firstName = computed(() => userResource.value().firstName);
2828
```
2929

@@ -48,7 +48,7 @@ The `ResourceLoaderParams` object contains three properties: `request`, `previou
4848
| `abortSignal` | An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal). See [Aborting requests](#aborting-requests) below for details. |
4949

5050

51-
If the `request` computation returns `undefined`, the loader function does not run and the resource and the resource status becomes `Idle`.
51+
If the `request` computation returns `undefined`, the loader function does not run and the resource status becomes `Idle`.
5252

5353
### Aborting requests
5454

0 commit comments

Comments
 (0)