Component proxies

So far we've seen that components are instances of classes, so we can use the methods and properties it provides. Under the hood, Bemtv is built essentially from Javascript proxies.

Component proxies is the combination of Javascript proxies with component instances, the result of which is one of the most powerful features of Bemtv, basically we can create an object that will be an intermediary between the instance of a component and the resources you want to use, which should simulate the instance of a certain component in any part of your application.

The next pages will bring some methods and functions that allow you to make use of this feature.

Last updated