News for hackers. Stuff that matters.
Re:Restoring React reducer state across browser sessions by gary_bernhardt on Tuesday April 21, 2020 @03:13PM (#22938328)
This is right. You'd have to read a ton of our source code to see this first hand, but the reducer state has nothing about React in it. It's a lot of stuff like "what answers did the user give?"; "was the answer correct or not?"; "what were the start and end timestamps for each attempt?"; etc. If we maintained multiple clients, we could reuse that structure because it's all about the application, not about React.

There are no comments on this comment yet.