Hi Boris, we are using jsRender and JSView for an entire portal exclusively based on templates and datalink to update the data, your libraries are excellent, congratulations!
But we have a problem: when some DOM nodes previously linked with JSView ( with this call $.link.someTemplate(parentNode, data) ) is removed, JsView maintain referenced memory for page life.
I have two question:
-
If I link two times the same node, this reference overwrite the previous link directive?
-
For remove reference (when I destroy one or more DOM node), the best way is $.observable().unobserve()?
There is a way for getting a reference (to unlink in second time certain DOM node) when the node dont exist anymore?
Thanks for the great work you are doing.
Thank you
Hi Boris, we are using jsRender and JSView for an entire portal exclusively based on templates and datalink to update the data, your libraries are excellent, congratulations!
But we have a problem: when some DOM nodes previously linked with JSView ( with this call $.link.someTemplate(parentNode, data) ) is removed, JsView maintain referenced memory for page life.
I have two question:
If I link two times the same node, this reference overwrite the previous link directive?
For remove reference (when I destroy one or more DOM node), the best way is $.observable().unobserve()?
There is a way for getting a reference (to unlink in second time certain DOM node) when the node dont exist anymore?
Thanks for the great work you are doing.
Thank you