— I can think of a few solutions, some good, some icky. How do you deal with it?
Some stuff like:Keep 1 variable that lists the last controllerview to use the DOMor wipe state of all components in non-presenting views,or delete those components and only create them when needed.Currently on first init all controllerviews and their components are in memory
— #1 sucks because that will cause confusion between non-root controllerviews and nested controllerviews
Message permanent page
— Use react or your vanilla code ?
— My own code
— Your create dom copy in memory on initial render. right?
— I don't have a Virtual DOM like react
— I pretty much only use Flux with a templating system
— I understand
— It's important create one state object (following the redux style)