diff --git a/src/routes/guides/fetching-data.mdx b/src/routes/guides/fetching-data.mdx index ccb81a2224..ce9ef74a0f 100644 --- a/src/routes/guides/fetching-data.mdx +++ b/src/routes/guides/fetching-data.mdx @@ -73,7 +73,7 @@ Whenever the signal value, `userId`, changes, the internal fetch method `fetchUs The properties of the `user` resource allow for conditional rendering based on the different states of the fetch process. The `Switch/Match` construct provides one way to manage these conditions. -When the fetch succeeds and user data is retrieved, the `user(`) condition becomes active, and its related block executes. +When the fetch succeeds and user data is retrieved, the `user()` condition becomes active, and its related block executes. However, if there's an error while fetching, the `user.error` block becomes `true`, leading to its corresponding `Match` block being shown. In addition to the `error` property, the `loading` property offers a way to display a loading state to the user during the fetch operation.