Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Discussion: Gaining clarity on "business logic" for FAQs #2796
Where do I put business logic in Redux is a question which still perplexes users. We do have an FAQ entry for it, but with no acceptable definition of what constitutes "Business Logic", it is hard to give concrete advice.
This issue is in response to this tweet . In here, we can collect some real world examples of client side logic and work down that list into what could be construed as business logic.
I am listing below the various kinds of logic I have seen/implemented in my career so far.
UI Visibility or behavior
Use Case : Change the sections to follow based on the data.
Theme: Data Checks
Theme: Filtering and Sorting
Relevant set of tweets from Francois Ward: https://twitter.com/FwardPhoenix/status/952971237004926977