Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Flywheel looks very nice.
I have some questions despite its architecture:
How State deals with types that cannot be just copied as Strings or Integers, for example some Closable resources. It is ok to store such types in a State? It seems to be breaking State immutability rule, as all we can do is just to copy a reference on them into a new State instance.
Who is responsible for clearing data from a State?
For example if we have 3 screens and it is possible to navigate like this:
Here arrows are Actions.
If case A) adds some members meaningful only for screen 1 into a new State instance in a Reducer function. Those members does not make sense for screens 2 or 3. Where/when they should be cleared?
Beta Was this translation helpful? Give feedback.
All reactions