Live data from Hacker News

Viewing profile — curiousreacter

curiousreacter

HN member
Joined
Tue, May 22, 2018, 3:58 PM UTC
HN karma
2
Public activity
4 items

About curiousreacter

No profile information was provided.

Recent public activity

  1. comment
    Comment #17128525

    Well, I'm thinking that Redux would apply the diffs to the state destructively, so I'm not sure why we would need to "constantly" reapply them in order to recreate the latest state…

  2. comment
    Comment #17128510

    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.

  3. comment
    Comment #17128502

    Oh right, immutable data structures are good for exactly this situation. I've been in mutation land for a while now. :) However, now I'm newly confused: Yes, I'm proposing that the…

  4. comment
    Comment #17126910

    Side question: Isn't it grossly inefficient that in Redux, you have reducers that return an entirely new state object? Wouldn't it be better to return some kind of data that repres…