Re:Hello Backbone.js - A step-by-step tutorial
by StavrosK on Tuesday June 07, 2011 @10:50AM
(#2629329)
I agree with you. I'm concerned about memory leaks from the circular references, though.
[ Parent
| on HN ]
Re:Hello Backbone.js - A step-by-step tutorial
by jashkenas on Tuesday June 07, 2011 @11:02AM
(#2629379)
Circular references are garbage collected -- no need to worry about them.
You might be thinking of a terrible old IE bug where circular references between JavaScript objects and DOM nodes were never collected, but that's never been an issue with JavaScript-only references.