Hi!
I had a quick question. I wasn't sure what use case does a RepositoryProvider cover, could I not create a separate instance of a repository if another bloc needs it?
Thanks!
Hi @JoseGeorges8 馃憢
Please read more on this topic here.
could I not create a separate instance of a repository if another bloc needs it?
You could but but there's no point in doing so. It's an optimization to re-use an existing instance.
Most helpful comment
Hi @JoseGeorges8 馃憢
Please read more on this topic here.
You could but but there's no point in doing so. It's an optimization to re-use an existing instance.