3 ms·
On this topic, and Chrome Dev Tools, does anyone else struggle with getting access to the state of their app? I find that because of all the encapsulation and
by Waterluvian 4y ago
On this topic, and Chrome Dev Tools, does anyone else struggle with getting access to the state of their app?
I find that because of all the encapsulation and transpilation tricks, it’s basically impossible to get a hold of my state or functions in the dev tools during runtime. The best I can do is forcibly set window.state and do a bit of work.
I can set breakpoints and do all that stuff. But I remember back in the bad days when it was pretty easy to “find your app” from the dev tools.
I’m probably doing a poor job describing it, but does anyone else experience this?
- cxr 4y agoIt's a known problem, especially with the move away from self-styled OOP paradigms and the rise of closure-infested programming. (I.e., "OOP, but with closures—and which (for overall very bad reasons) we're going to insist on describing as FP".) Recent thoughts by one of the Eve/Light Table developers: <https://www.scattered-thoughts.net/writing/coding/ https://www.scattered-thoughts.net/writing/coding/> (Ctrl+F on "hard-to-query state" and "reachable".)
- Waterluvian 4y agoThank you for the link!