Skip to content

Commit b8e9fe8

Browse files
authored
add link to off docs angular (playfulprogramming#1208)
add link to official documentation angular
2 parents 8921f51 + 941b257 commit b8e9fe8

File tree

1 file changed

+8
-0
lines changed
  • content/oussemanjimi/posts/angular-linked-signal-resource-api

1 file changed

+8
-0
lines changed

content/oussemanjimi/posts/angular-linked-signal-resource-api/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ const updatedSignal = linkedSignal({
3232

3333
In this example, `updatedSignal` will always be five times the value of `sourceSignal` and will automatically adjust as `sourceSignal` changes.
3434

35+
For more details about Angular `linkedSignal`, check out the official documentation: [Angular linkedSignal Guide.](https://angular.dev/guide/signals/linked-signal)
36+
3537
## Addressing Existing Challenges:
3638

3739
Before the introduction of `linkedSignal`, developers faced difficulties in creating signals that were both dependent on other signals and writable. This often led to convoluted code structures and increased the potential for errors. By providing a straightforward method to create such signals, `linkedSignal` enhances code clarity and reduces the likelihood of bugs related to state management.
@@ -98,7 +100,13 @@ Status Tracking: Signals such as `status`, `error`, and `isLoading` allow develo
98100

99101
Before the Resource API, developers had to manually handle multiple states (loading, success, error) for each HTTP request, which could lead to repetitive and error-prone code. The Resource API abstracts these concerns and offers a more declarative approach, reducing boilerplate code and improving the reliability of data fetching.
100102

103+
For more details about Angular `Resource API`, check out the official documentation: [Async reactivity with resources.](https://angular.dev/guide/signals/resource)
104+
101105
## Conclusion
102106

103107
Angular 19's introduction of `linkedSignal` and the `Resource API` significantly enhances the framework's capabilities for managing reactive state and handling asynchronous data. These features streamline complex tasks and help developers build more maintainable, performant applications. By utilizing these tools, developers can create cleaner, more efficient code while improving the overall user experience.
104108

109+
### For more details, check out the official Angular documentation:
110+
- [Angular linkedSignal Guide](https://angular.dev/guide/signals)
111+
- [Angular Resource API](https://angular.dev/guide/signals#resource-api)
112+

0 commit comments

Comments
 (0)