Apologies if this has been asked before. I’m wondering what the current best practices are for handling global application state in Halogen.
Real World Halogen seems to make use of the “higher-order” Connect component along with Buses. Is this still the ideal way of accessing/interacting with global state among different components (each of which might require interacting with different aspects of that global state)? Is there a simpler approach involving, perhaps, Hooks?
More generally, how should complex global state be modeled? Should it be self-contained within a single
Model type (similar to what’s done in Elm), thus practically necessitating the use of lenses? Or are there other approaches which make more sense?