I come from a React background, and Im having a difficult time wrapping my head around what is likely a basic concept in Swift Composable Architecture:
From all of the examples, e.g.; The Tic Tac Toe example, it seems that reducers are entirely combined within the global App State, and extracted for views by scoping the global Store. Fundamentally, Im confused as to how to avoid this and keep very specific view state, actions, and reducer within a View itself, while still having access to the global App State and store.
For example, if I want to keep track of the global "route" in App State, but the value for a text input within the view, how exactly am I supposed to do this? I know I can use
WithViewStore to get the global store, but how do I keep access to the local reducer code?