Enhance is really just a mechanism to establish a dependency between two files. Same as import just opposite direction.
You can implement DI systems on top of it, but the most obvious usage is with the Registry Pattern.
Enhance is really just a mechanism to establish a dependency between two files. Same as import just opposite direction.
You can implement DI systems on top of it, but the most obvious usage is with the Registry Pattern.
CTO at Vercel. Curator of @JSConfEU. Writer at industrialempathy.com. he/him