Singleton instances improvement
Closed this issue · 0 comments
matheusribeirozup commented
Use case
Beagle uses ViewModels as controller holders to make requests. However, the entire lifecycle of these instances is tied to them.
Proposal
Use singletons to avoid unnecessarily recreating instances, such as the HttpClient
, ComponentRequester
and ActionRequester
.