Tweet
this was a power hour of a sunday morning refactor, but it boils down to a simple realization: there’s only one device. I don’t need layers upon layers of dependency injection to ensure things have a reference to it. It’s a singleton if I’ve ever seen one. https://github.com/joeycastillo/libros/compare/26456583b6c3688d46f1f417d46845bdff96c800...aa8245227b1e39d2ca5228cb0d000d0c1df493f8
(original)