Hello!,<br>           I&#39;m implementing an API for rendering Google Maps. I&#39;ve decided to implement it as a brush. That&#39;s because I&#39;m just generating javascript code. But now I have a problem: when adding support for callbacks, I need to hold some state; for example, the map the callback refers to. But I think brushes are not meant to hold state, that is something left for the components mechanism, isn&#39;t it? So I would like to know what would be the correct way of implementing it in the framework. Should I implement maps as components, or should I add state to my brushes; I may hold a state in the callback block too, but I don&#39;t think that&#39;s good.<br>
<br>Thanks!<br><br>Mariano<br><br><br>