News for hackers. Stuff that matters.
Re:You probably don't need a single-page app by AnIdiotOnTheNet on Monday February 18, 2019 @08:06AM (#19190359)
> Redux with a middleware that saves the whole state to localstorage automatically

I don't want to save the whole state automatically. The state isn't complicated. Even the data isn't complicated.

> Some React components that act as one-way output of the stuff in the Redux store, optionally with a basic routing lib if some menus/navigation are necessary

Or I just write some javascript that creates a view of based on the data it has cached locally and updates that view when the user interacts with it.

This is what we're talking about. I have a relatively simple problem, I don't need to pull in additional dependencies in the form of a framework that's just going to make things more complicated and require me to learn its paradigms.

Re:You probably don't need a single-page app by crooked-v on Monday February 18, 2019 @05:35PM (#19195118)
> I don't want to save the whole state automatically. The state isn't complicated. Even the data isn't complicated.

If you don't want to save the state, why mention localstorage in the first place? The point of using the Redux thing would be to automate that process, so that you don't have to manually save/retrieve anything to localstorage yourself.