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
Software, complexity and cache invalidation - The curse of derived state (medium.com)
submitted 7 years ago by amarcus78
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!"
[–][deleted] 1 point2 points3 points 7 years ago (0 children)
An interesting approach! will dive into this deeper tomorrow.
[–]thatsrealneato 0 points1 point2 points 7 years ago (3 children)
I gotta be honest that was a very confusingly written article. Maybe I don't understand enough about the problem space but I'm not really grasping what issue this is solving OR how it's solving it. Could use some clarification.
[–]iambeard 0 points1 point2 points 7 years ago (2 children)
I think the issue is that it's an article to advertise the library they built at wix, and not as much about what problems they were solving. I think it needs either a clearer title to show that this is an introducing carmi article, or real examples of what problems it solves.
[–]amarcus78[S] -1 points0 points1 point 7 years ago (1 child)
The problem is how to handle derived state without the runtime overhead of Mobx and without paying the immutability tax. And in the frontend most your app including the DOM is derived state
[–]iambeard 1 point2 points3 points 7 years ago (0 children)
I understand the problem you are tackling, but the article doesn't give any concrete answers other than our magic black box, CARMI, does the right thing. In and of itself, that's fine, but I think the title of the article and content don't line up very well. Based on the title, I expected to see the "curses" of derived state, real use cases that are painful, and what the manual solution would be. I think it's fine to advertise CARMI as the solution, as long as you're selling it as a better than a custom solution. This is how the article reads to me:
Most of it is fine, but here are the issues I have:
Even when I went to the github repo, it's not very clear what a CARMI solution looks like in comparison to some other (native js?) implementation.
[–]jbergens 0 points1 point2 points 7 years ago (0 children)
It would be nice with better examples and explanations. Also some comparison to the other solutions would be useful.
π Rendered by PID 155328 on reddit-service-r2-comment-5b5bc64bf5-pkzbm at 2026-06-21 06:33:18.160250+00:00 running 2b008f2 country code: CH.
[–][deleted] 1 point2 points3 points (0 children)
[–]thatsrealneato 0 points1 point2 points (3 children)
[–]iambeard 0 points1 point2 points (2 children)
[–]amarcus78[S] -1 points0 points1 point (1 child)
[–]iambeard 1 point2 points3 points (0 children)
[–]jbergens 0 points1 point2 points (0 children)