Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(core): remove DeepReadonly type wrapper for signals #49644

Conversation

pkozlowski-opensource
Copy link
Member

We've been experimenting with the DeepReadonly type that would make signal values deeply read-only and prevent accidental changes without going to the owner of data. What we've found out during the experiments is that additional safety net has more drawbacks than benefits: it just introduces too much friction to be practical for daily usage.

@pkozlowski-opensource pkozlowski-opensource added area: core Issues related to the framework runtime target: major This PR is targeted for the next major release labels Mar 30, 2023
@ngbot ngbot bot modified the milestone: Backlog Mar 30, 2023
@pkozlowski-opensource pkozlowski-opensource force-pushed the reactivity_signals_readonly_axe branch from 6cc6da5 to 1a6ce1e Compare March 30, 2023 08:46
We've been experimenting with the DeepReadonly type that would make
signal values deeply read-only and prevent accidental changes without
going to the owner of data. What we've found out during the experiments
is that additional safety net has more drawbacks than benefits: it just
introduces too much friction to be practical for daily usage.
@pkozlowski-opensource pkozlowski-opensource force-pushed the reactivity_signals_readonly_axe branch from 1a6ce1e to 8332757 Compare March 30, 2023 09:08
@pkozlowski-opensource pkozlowski-opensource marked this pull request as ready for review March 30, 2023 09:32
@pkozlowski-opensource pkozlowski-opensource added the action: review The PR is still awaiting reviews from at least one requested reviewer label Mar 30, 2023
@pullapprove pullapprove bot requested a review from dylhunn March 30, 2023 13:25
Copy link
Member

@alxhub alxhub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-for: public-api

Copy link
Member

@alxhub alxhub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-for: global-approvers

@pkozlowski-opensource
Copy link
Member Author

Closing this PR as the commit from it got folded into #49154

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: review The PR is still awaiting reviews from at least one requested reviewer area: core Issues related to the framework runtime target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants