Other than init being called, I'm not sure what the life-cycle of a Ractive component is. When is it safe to access the DOM directly, for example? I tried to use the popular sparklines jQuery plug-in, but I never got it to work. I used a directive instead and - voila - lovely sparklines.
Any documentation on what kind of events and callbacks a component receives in Ractive?
The library is quite mature now. Use Ractive.on('render', ...);
or onrender
in a template/component to access the DOM. See: http://docs.ractivejs.org/latest/lifecycle-events.
This is true from version 0.6
and on.