Replies: 1 comment
-
|
Follow-up: Root Cause Identified After further investigation, I discovered the frozen object issue is not caused by NgRx Signal Store but by Apollo Client. What We Found The Confusion Takeaway Apologies for any confusion, and thanks for your time! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've started converting to signal forms and encountered a reactivity challenge that may warrant discussion.
The Conflict:
Current Workaround:
I've tried several things, for instance
untracked(), which came closest, but it removes reactivity entirely. What's needed is something that reactively updates on read but doesn't attempt to write back to the frozen store object.With traditional Reactive Forms, we were already mapping store data to FormGroup structures, so the performance cost may be comparable. However, the current approach feels like an unintended workaround rather than a deliberate pattern. Additionally, the error message ("object is not extensible") is difficult to trace back to this root cause.
Questions:
Beta Was this translation helpful? Give feedback.
All reactions