Replies: 4 comments 5 replies
-
Hi @rcarver, I don't think Perception 2.0 helps with this. We would essentially need to recreate what the Currently our view is that this isn't really a problem in practice and not something we are prioritizing. Can you share more information of how this behavior has affected your app? |
Beta Was this translation helpful? Give feedback.
-
@mbrandonw I had a bit of time to explore this, see attached It introduces two wrapper types that are a replacement for typical @ObservedShared var root: Observed<RootValue> Despite the awkward call site it was an easy and effective replacement in my app, much better than manually tracking these fields! I'd be happy to keep working on it, do you have any thoughts on correctness, ergonomics, or how it might fit better into existing tools? |
Beta Was this translation helpful? Give feedback.
-
Some success here? For the demo cases I setup this simple change behaves as well as TCA.
The more I explore this the more I feel I don't fundamentally understand |
Beta Was this translation helpful? Give feedback.
-
Here's a demo of improved view observation for TCA and Shared. All of the changes are broken into separate branches on my forks. Just wanted to keep this whole experiment isolated from you until it was solid. So, hope you can take a look and see if there are any flaws in the approach. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, wanted to (re)-start the discussion of efficient observation of shared values. This comment sums up the issue:
shouldNotifyObservers
feature?Beta Was this translation helpful? Give feedback.
All reactions