Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
laurent123456
· 8y ago · 0 comments
Objects in JavaScript are references so internally it's just a pointer being passed around.
Comments
[–]
curiousreacter
8y ago
Hmm, but reducers are supposed to return references to
new
state objects, right? So clearly something more substantial than a pointer has to be created/duplicated.
[–]
jitlerr
8y ago
New object => new pointer.