Dec 10, 2021
This is an incredible story. The more I think about it, the more I think you’re right! Essentially, provider is just locally scoped get_it.
That’s interesting and I never thought of it that way. The only “counterpoint” I can think of (and a weak one, at that!) is context.watch allows you to react to state.
But Liek you said, you still have to notify listeners for this to work, and thus the duty of provider is literally just to inject the dependency.
Interesting, and I recommend you write an article yourself!?