News for hackers. Stuff that matters.
Re:None of my projects want to be SPAs by tomca32 on Monday February 11, 2019 @02:32PM (#19137492)
One of the problems I noticed with Redux is that you need to clean your state. This is one of the reasons why global variables are a problem.

If you keep your state in a component, you don't need any housekeeping, once the component is gone, the state is gone.

This is not true with Redux. You have to keep remembering to clean the state after you're done with something or you're going to introduce a bunch of bugs.

There are no comments on this comment yet.