You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Amazing library. Good to see the learnings from the React ecosystem making it to the ever so expressive Swift.
Reaching out because I spent quite a bit of time getting the library to work. I set up a Query following your examples quite closely, but I couldn't get my views to update. It all finally worked out when instead of using @ObservedObject, I switched to @StateObject.
I am completely new to Swift/SwiftUI so my code is very vanilla, was wondering if this is something you encountered before or would know why there would be a difference between the two in this use case.
Hey @fmo91,
Amazing library. Good to see the learnings from the React ecosystem making it to the ever so expressive Swift.
Reaching out because I spent quite a bit of time getting the library to work. I set up a Query following your examples quite closely, but I couldn't get my views to update. It all finally worked out when instead of using
@ObservedObject
, I switched to@StateObject
.I am completely new to Swift/SwiftUI so my code is very vanilla, was wondering if this is something you encountered before or would know why there would be a difference between the two in this use case.
Couple of sites that led me to this discovery:
The text was updated successfully, but these errors were encountered: