when user typing, the email state will be forwarde...
# orbit-mvi
s
when user typing, the email state will be forwarded to viewmodel. and everytime user typing the state is reduced. since the state is on top of LoginScreen function, the whole page is recomposed. how to prevent it?
j
Are you saying that it's recomposing the entire LoginScreen function every time? It should only recompose the functions which are observing the state, which is the body of Column. It will recompose every time since you're using
collectAsState
which is basically asking it to recompose every time the state reduces.
s
i see, the problem probably in somewhere else