The future of The Composable Environment #13
Replies: 2 comments 3 replies
-
I guess the general approach is very convenient and it's even more then TCA extension lib, probably even other projects (not using TCA) can benefit from TCE, so maybe it worth removing TCA dependency for such projects. I see 2 ways, the first one is to simply create a separate branch, the second is to remove it completely in There is also some wired type inference bug in the pullback's environment property, so that derived environment keyPath cannot be treated as function so I use let reducer = Reducer.combine(
derivedReducer.pullback(
state: \State.derived,
action: /Action.derived,
environment: get(\Environment.derived)
),
...
) |
Beta Was this translation helpful? Give feedback.
-
A place to discuss the future of the library, API improvements etc.
Beta Was this translation helpful? Give feedback.
All reactions