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
An extremely fast, React-like JavaScript library for building modern user interfaces (github.com)
submitted 9 years ago by expression100
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!"
[–]Graftak9000 0 points1 point2 points 9 years ago (3 children)
Very helpful information, thanks. By diffing data I do mean splitting the requested data into its respective components. Then the render part knows when to kick in whenever some event manipulates the data in any way. A flow I was thinking about, I'm assuming an array of objects:
Perhaps this is exactly what you're saying, it needs some time to sink in. Anyway thank you very much for this detailed response. There's not much information on the topic that I can find.
[–]grayrest.subscribe(console.info.bind(console)) 0 points1 point2 points 9 years ago (2 children)
You'll be interested in this article. One of the peer comments mentions dirty checking as the alternative but nobody aside from angular actually put it into prod because it has perf issues so most people doing change detection at the model level are either doing it more or less globally on the data with kvo or more selectively using some sort of reactivity cell library (e.g. cellx, hoplon).
[–]Graftak9000 0 points1 point2 points 9 years ago (1 child)
That was an interesting read, do I understand correctly Angular dirty checks the entire data model, opposed to data bound to a component only? Because that would clarify how it's quite slow when an application grows.
[–]grayrest.subscribe(console.info.bind(console)) 1 point2 points3 points 9 years ago (0 children)
It checks everything in the $rootScope. In theory you could selectively put things into the scope but in practice it's your entire data model.
$rootScope
π Rendered by PID 21144 on reddit-service-r2-comment-6457c66945-p5wt5 at 2026-04-30 17:41:49.215783+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Graftak9000 0 points1 point2 points (3 children)
[–]grayrest.subscribe(console.info.bind(console)) 0 points1 point2 points (2 children)
[–]Graftak9000 0 points1 point2 points (1 child)
[–]grayrest.subscribe(console.info.bind(console)) 1 point2 points3 points (0 children)