Testers wanted: Store "core" beta #3622
Replies: 5 comments 7 replies
-
I'm getting deprecation warnings about writable key paths when using destination enums: .sheet(item: $store.scope(state: \.destination?.uploadPhoto, action: \.destination.uploadPhoto)) |
Beta Was this translation helpful? Give feedback.
-
I'm also seeing deprecation warnings on a destination enum
|
Beta Was this translation helpful? Give feedback.
-
This is great! Everything works like a charm for me; test suite passes in the one app I've been working on for years. The app looks to be functional too; haven't seen any egregious behavior. |
Beta Was this translation helpful? Give feedback.
-
We are currently migrating the app to |
Beta Was this translation helpful? Give feedback.
-
Does that imply that currently tests with After migrating to Swift Testing, we are facing flaky tests with Our tests are written in the following manner: @Test
func tileTapped() async {
let store = await TestStore(initialState: .init()) {
SomeReducer()
}
....
} Note that after migration from The only remedy I found out currently is to mark the test with @Test
@MainActor
func tileTapped() async {
let store = TestStore(initialState: .init()) {
SomeReducer()
}
....
} Is it required to add |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
👋
Hey all, we would love to get some early eyes on a branch we've been working on that revamps the internals driving the
Store
, which we are callingcore
: #3460Our goals:
Ideally this is a fully backwards-compatible release, so you can point your up-to-date TCA application to the following and hopefully everything just works:
Please report feedback to us! We don't want such a major refactor to have downstream effects on your production applications, so let's catch any issues early 🤠
Beta Was this translation helpful? Give feedback.
All reactions