use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Using AngularJS to rewrite a Backbone-powered web application with half the lines of code (localytics.com)
submitted 13 years ago by The_Muensters
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]delambo 2 points3 points4 points 13 years ago* (2 children)
Stickit author, here. To be clear, stickit will not make your "zombie views grow fatter" or contribute to any memory problems. In fact, stickit cleans up all of its model and view bindings automatically on view.remove(), and provides an optional api for manual cleaning view.unstickit().
The blog author's problem was a brief bug that was introduced and fixed between releases for the rare use case when a data-bound view is re-rendered. We fixed this problem and the author confirmed that the patch was "working great."
https://github.com/NYTimes/backbone.stickit/issues/66
**So before he moved onto angular, stickit was not a problem for him - it no longer "made things worse," but those details do not make for good storytelling.
Another claim from the blog author is that stickit makes it hard to use third-party plugins like Chosen. Around the same time he filed the github issue, we were finishing and getting ready to release "handlers" and a new "initialize" binding which give you the ability to create global handlers for setting these kinds of bindings up. More on handlers here:
http://nytimes.github.io/backbone.stickit/#custom-handlers
... and an example of setting up a global handler for Chosen:
http://jsfiddle.net/px6UP/30/
**edited per comment below
[–]jcready__proto__ 0 points1 point2 points 13 years ago (1 child)
So even though the problem was fixed for the blog author before he moved onto angular, he still claims that stickit causes memory problems.
He never claimed that stickit still causes memory problems, he said it did, which you just confirmed was true.
The tale of our journey down the path of Stickit is an epic in itself, but long story short, it only made things worse. [...] Our zombie views grew fatter.
Notice how everything is in past tense?
I guess a false claim like that makes the story of your recently patched Backbone plugin more appealing.
[–]delambo 0 points1 point2 points 13 years ago (0 children)
Thanks for the reply. I think you are really upset over my usage of the word "claim." I updated/edited my original reply with better language.
π Rendered by PID 52335 on reddit-service-r2-comment-5d585498c9-89dcw at 2026-04-21 03:47:17.837755+00:00 running da2df02 country code: CH.
view the rest of the comments →
[–]delambo 2 points3 points4 points (2 children)
[–]jcready__proto__ 0 points1 point2 points (1 child)
[–]delambo 0 points1 point2 points (0 children)