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.
You may also like
Monolith vs. Microservices: what’s the right choice for your project?
  • Development
  • Technology
Monolith vs. Microservices: what’s the right choice for your project?

The use of microservices architecture is already widespread among global companies. For instance, Amazon, Coca-Cola, and Netflix started out as monolithic apps but have evolved…

The Pain and the Joy of creating isomorphic apps in ReactJS
  • Technology
The Pain and the Joy of creating isomorphic apps in ReactJS

This post is not a tutorial. There are enough of them on the Internet. It is always more interesting to look at real production app….

5 Steps to IoT Devices Development
  • IoT
  • Technology
5 Steps to IoT Devices Development

The Internet of Things (IoT) opens up many opportunities across different industries and has strong development potential for the upcoming years. 83% of organizations report…

5 Steps to Train Word2vec Model with NodeJS
  • Technology
  • Tutorial
5 Steps to Train Word2vec Model with NodeJS

How to Train Word2vec Model With NodeJS in 5 steps: Introduction This will be a really short reading about how to get a working word2vec…

Wearable IoT Trends: Personal and Business Use in 2023
  • IoT
  • Technology
Wearable IoT Trends: Personal and Business Use in 2023

Wearable IoT Trends: Personal and Business Use in 2022 Wearable IoT devices remain one of the most popular trends of IoT, which in turn is…

LIVR – Data Validation Without Any Issues
  • Technology
LIVR – Data Validation Without Any Issues

Each programmer must have come across the necessity to check user’s input a number of times. Having a 12-year experience in web development, I have…

Subscribe to the best creative articles feed

    Email*

    Up
    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