Home Blog Technology Concerns about Flux Standard Action (FSA)

Concerns about Flux Standard Action (FSA)

November 22, 2022
7 minutes to read

Written by:

Viktor Turskyi

Viktor Turskyi

Senior Software Engineer at Google Non-Executive Director and co-founder at WebbyLab.

More than 15 years of experience in the field of information technology. Did more than 40 talks at technical conferences. Strong back-end and fronted development background. Experience working with open-source projects and large codebases.

FAQ
How does FSA standardize the structure of action objects in React apps?

It’s much easier to work with Flux actions if we can make certain assumptions about their shape. For example, essentially all Flux actions have an identifier field, such as type, actionType, or actionId. Many Flux implementations also include a way for actions to indicate success or failure, especially as the result of a data-fetching operation. Defining a minimal, common standard for these patterns enables the creation of useful tools and abstractions.
You can learn more: https://github.com/redux-utilities/flux-standard-action.

Why shouldn't you use the FSA?

FSA cannot be considered as a universal approach as it has some problems like double dispatch problem and progress handling problem (described in article in details). These issues are not covered by standard. Moreover, trying to implement progress tracking with FSA will force us to switch back to classical or hybrid approaches.

What is the difference between flux-standard-action and redux-toolkit?

Flux-standard-action is a standard that defines the shape of Redux actions. The same time Redux-toolkit is a high-level library with a lot of utils which can ease you react development. Redux toolkit provides opinionated defaults and does not require FSA to be used.

Rate this article !

20 ratingsAvg 4.6 / 5

You may also like
10 Quality Checks You Should Do For Your Website
  • Technology
  • Tutorial
10 Quality Checks You Should Do For Your Website
By this article, I’d like to provide you a checklist that will help you to test your product better and discover it more in-depth. Things...
How to Build a Banner Generation Tool with PhantomJS
  • Technology
How to Build a Banner Generation Tool with PhantomJS
Introduction Today we delve into the exciting world of building a powerful banner generation tool using PhantomJS. In this article, we’ll explore the intricacies of...
Google Chrome payment plugins: a guide to popular browser extensions
  • Technology
Google Chrome payment plugins: a guide to popular browser extensions
Modern software development practices often contain just the most basic features in the core program, with additional functionality supplied via add-ons such as plugins. Browser...
How We Used Redux on Backend and Got Offline-First Mobile App as a Result
  • Technology
How We Used Redux on Backend and Got Offline-First Mobile App as a Result
Preface Today we want to share our experience of building offline-first React-Native application, using Redux-like approach on our NodeJS backend server. Indeed we just kind...
Best practices for building CLI and publishing it to NPM
  • Development
  • Technology
Best practices for building CLI and publishing it to NPM
Introduction CLI stands for the command-line interface. It’s a common way to interact with different processes. Tools with CLI are often used in software development,...
Monolith vs. Microservices: what’s the right choice for your project?
  • Development
  • Technology
Monolith vs. Microservices: what’s the right choice for your project?
What is monolithic architecture? Monolithic architecture is regarded as a conventional method of developing apps. A monolithic application is made up of a single, indivisible...
Up

2024 WEBBYLAB. All rights reserved.

Cookies talk
Notice. PrivacyPolicies.com uses cookies to provide necessary website functionality, improve your experience and analyze our traffic. By using our website, you agree to our Privacy Policy and our cookies usage.
Accept