Click here to Skip to main content
15,916,371 members
Articles / Programming Languages / Javascript

Loading Data in React: redux-thunk, redux-saga, suspense, hooks

Rate me:
Please Sign up or sign in to vote.
5.00/5 (7 votes)
19 Mar 2020MIT7 min read 22.1K   14  
Comparison of different ways of handling side effects in React
Sadly, even with React and Redux, there is no one clear way how to handle asynchronous calls to the API (backend) or any other side effects. This article is going to show four ways of solving this problem and compare the pros and cons of each one.


Daily Counts


This article, along with any associated source code and files, is licensed under The MIT License

Written By
Software Developer
United States United States
Full Stack Software Developer with major experience in enterprise software development for different industries.
Have a experience in wide range of technologies:
- JavaScript: React, Redux, TypeScript, Saga, Thunk, Cordova, Jest, Enzyme, Material Design, React-MD, Semantic UI, WebStorm
- .Net: C#, WPF, WCF, Windows Forms
- Java: Spring, Spring Boot, Spring Cloud, Spring Data, microservices, jUnit, Mochito, IntelliJ
- DB: Kafka, Oracle, SQL Server, PL/SQL

Comments and Discussions