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

StoreReader not working after version update #496

Open
asdafa3 opened this issue Oct 24, 2024 · 1 comment
Open

StoreReader not working after version update #496

asdafa3 opened this issue Oct 24, 2024 · 1 comment

Comments

@asdafa3
Copy link

asdafa3 commented Oct 24, 2024

Problem Description

After the update on MacOS Sequoia, we had to update the package version of verge to the latest version. Previously in our app, we used the @StoreObject wrapper together with StoreReader in SwiftUI and we could use this for live updating the state. After the version update, the state updates are only reflected within the UI after the app is pushed to the background or out of focus. Do you have any idea, why this might happen? There were two changes we noticed that we adapted:

  • DispatcherType was replaced by StoreDriverType
  • primitiveState was replaced by state.primitive

Versions

Verge: 12.5.0
MacOS: 14.6.1 (23G93)
XCode: Version 16.0 (16A242d)

@muukii
Copy link
Collaborator

muukii commented Nov 26, 2024

I see. I can see it later but can you make a project for reproduction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants