Question: How do I use an external library like tether.js with Maquette.js?
My main issue is if I initialize it somewhere in my render function I don't know where I could tear it down, causing a memory leak over time as elements are re-rendered.
I experimented with using enterAnimation and exitAnimation as lifecycle hooks, but quickly ran into the cannot change event handler error, as I need to access a specific instance of Tether that is unique to that item.
Thoughts? Help? Thanks!
Background:
I have very much enjoyed beginning to use Maquette.js the past week. I have a fairly large AngularJS v1 application that makes use of tooltips in many places.
The main thing holding me back from creating more Maquette.js-rendered views is my reliance on Angular tooltip directives.
So, I started playing with tether.js and drop.js in order to utilize their dropdown positioning capabilities so that I don't have to rewrite them.