by pharmakom · 3y ago · 0 comments
We will still have state, just it will live only in data stores (like Postgres) or infrastructure components (like Kafka). Most dev work will be writing declarative code for manipulating and providing access to such systems.
I even think this will reach front end development, where the UI is an access layer to a local datastore.
I think this type of pattern (not necessarily redux specifically) is definitely the future of Frontend state if it’s not already the current paradigm
React: f(State) => UI
Redux: (State, Action) => newState
Bare in mind this is only for web dev.
Many other things outside of web dev cannot abstract state so easily. For example: The person who programs the database itself must deal with state.