Replies: 4 comments 6 replies
-
|
+1 for deprecation. It should also be very foreseeable once it can be removed (earliest once resources become stable, latest maybe 1 or 2 majors after they re stable). I would appreciate as early communication as possible that this will happen (if decision is done for deprecation) Some more questions popping up:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
I will go straight to my use case in my app. That said, I tried to do this simple infinite scroll view model, with resource, with no success, afaik, there is no way to get previous value, correct me if I´m wrong. I don´t really know if it´s something already on the radar. What would it be the best replacement if we deprecate derivedAsync ? |
Beta Was this translation helpful? Give feedback.
-
A resource + a computed should be able to do the same thing. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
With the introduction of the resource API in Angular (currently experimental), we're seeing an overlap in functionality with ngxtension's derivedAsync utility. This discussion aims to gather community feedback on the potential deprecation of derivedAsync in favor of leveraging the native resource API.
Background
derivedAsync in ngxtension provides a convenient way to derive asynchronous data based on signals. However, the resource API in Angular offers a more integrated and complete solution for similar use cases.
Key Points
Proposed Action
We propose to deprecate derivedAsync in a future major release of ngxtension, once the resource API in Angular is officially marked as stable.
Discussion Points
Next Steps
We will closely monitor this discussion and consider all feedback before making a final decision. If the community consensus supports deprecation, we will provide clear migration guidance and update the documentation accordingly.
We value your input and appreciate your participation in this discussion.
15 votes ·
Beta Was this translation helpful? Give feedback.
All reactions