docs: singleton approach is deprecated
Description
The extension relies heavily on the singleton pattern which brings many disadvantages. This MR updates the documentation with the explanation that using singletons is deprecated and explains the alternative solution to the dependency problem.
What CHANGELOG entry will this MR create?
-
fix:
Bug fix fixes - a user-facing issue in production - included in changelog -
feature:
New feature - a user-facing change which adds functionality - included in changelog -
BREAKING CHANGE:
(fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog -
None - other non-user-facing changes