Subject: Feature Request: Restore Reset Functionality for contentChildren Signal API #55823
Labels
area: core
Issues related to the framework runtime
core: queries
cross-cutting: signals
needs: clarification
This issue needs additional clarification from the reporter before the team can investigate.
Milestone
Which @angular/* package(s) are relevant/related to the feature request?
core
Description
Dear Angular Team,
I hope this message finds you well. I'm reaching out to request a feature enhancement regarding the recent changes in the Angular framework.
Previously, the @ContentChildren decorator provided a QueryList which included a useful reset() function. This function allowed developers to modify the order of elements within the QueryList. However, with the introduction of the new Signal API contentChildren(), the returned result is now a read-only array, devoid of the reset() functionality.
I understand that the Signal API offers advantages, but the absence of the reset() function has caused inconvenience in scenarios where dynamic manipulation of the query list order is required.
Hence, I kindly request considering the restoration of the reset() functionality for the contentChildren() Signal API in future Angular releases. This feature would greatly enhance the flexibility and usability of the framework for developers.
Thank you for considering my request. I appreciate your ongoing efforts to improve Angular and look forward to seeing its continued evolution.
Best regards,
Christian
Proposed solution
Possibility to change order of query-result
Alternatives considered
The text was updated successfully, but these errors were encountered: