DEV Community

Discussion on: The Problem of Centralized State in Web Applications

Collapse
 
kerenren profile image
kerenren

thanks for sharing! considering minor state management(e.g. isUserLogin: $booleanValue), do you think it's acceptable to replace the database with a JSON file to store the state?

Collapse
 
hi_artem profile image
Artem

It really depends on the project. For hobby project/demonstration purposes, I don't see an issue with it.