This channels seems to be inactive for a long time...
# redux-kotlin
a
This channels seems to be inactive for a long time now but Im starting to learn Redux Architecture in Kotlin and theres one thing I don't know how to start so I'm gonna shoot my shot and hopefully someone answers. How exactly do you Model the
AppState
? Examples I've seen so far only show a small application where the
AppState
is very simple. But how do you model an
AppState
in a Large Application with multiple screens? Do I make smaller "`AppState`" inside the "root"
AppState
like:
Copy code
data class AppState(
    val loginAppState: LoginAppState,
    val signUpAppState: SignUpAppState
    val someOtherScreenAppState: OtherScreenAppState
    ....
)

data class LoginAppState(
    val usernamer: String,
    val password: String
    ....
)
I'd really appreciate any help. Thank you very much in advance
v
Hi! I made good experiences with the approach you’ve outlined.
w
yes, every screen should be a sub-state inside the AppState
each with its own reducer