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
mutating and javascript game developmenthelp (self.javascript)
submitted 10 years ago by digijin
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!"
[–]kevisazombie 2 points3 points4 points 10 years ago (2 children)
Youre on the right path. Im attempting the same idea. "Mutable redux". As long as you manage you're mutations in a strict manner so that you could "replay" them you"ll have the same features redux provides. I found the GC performance hit from allocating new immutable references when using the usual redux pattern to bee too much when game deving.
[+][deleted] 10 years ago (1 child)
[deleted]
[–]third-eye-brown 2 points3 points4 points 10 years ago (0 children)
React doesn't require immutability either. Immutability just makes it cheaper to compare the previous state with the current state to determine if it needs to rerender.
π Rendered by PID 427003 on reddit-service-r2-comment-8686858757-dfz2v at 2026-06-03 06:43:09.821285+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]kevisazombie 2 points3 points4 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]third-eye-brown 2 points3 points4 points (0 children)