godux | State Management for Go Backend application | State Container library
kandi X-RAY | godux Summary
kandi X-RAY | godux Summary
State Management for Go Backend applications inspired by Redux.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of godux
godux Key Features
godux Examples and Code Snippets
Community Discussions
Trending Discussions on godux
QUESTION
I'm currently learning Redux and I see a great benefit to having one source of truth for state. I was wondering if the backend could benefit from state management also, but I see nothing online about it, so I assume not. Although I found this which seems like it is actually aiming to bring redux state management concepts to the backend..but I may be misinterpreting it.
Does the backend typically not maintain enough state in memory to be worth having state management - and we will not likely see Redux-like patterns on the backend?
...ANSWER
Answered 2017-Feb-02 at 00:30State management is a fundamental thing in software, we need always to keep track of our data in backend or frontend.
So to be more direct, it's not only a frontend concern, please check out this example of using redux on the server
That being said, state management it's not always needed ( think about stateless apps! )
With apps like chat applications with Socket.io ( I'm just giving you some ideas ), you might need redux ( or other libs if there any ) to keep track of the history of the chat, so that when your users reload their tab they can poll the server - you have also to manage the dabase sync with your state.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install godux
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page