Making API call inside component vs inside action creator

This page summarizes the projects mentioned and recommended in the original post on /r/reactjs

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • redux-saga

    An alternative side effect model for Redux apps

  • One of the biggest advantages with the redux infra is that it allows a complete decoupling of the data from the views, views can then be as complicated as possible, as long as they consume their needed data through defined selectors that extracts info from the various reducers, if your project is still small, I would strongly suggest to check out redux-sagas, you'll have to get familiar with JavaScript generators and rue yield keyword, but I assure you it is definitely worth it, sagas will help you abstract everything, not just api calls, every complicated process could be migrated to sagas, which work amazingly with react, suddenly everything becomes possible, they also allows listeners on patterned actions, so you could for example create a recipe action that has a prefix in its type like so @API_ACTION: and then build an api saga, that dispatches api requests based on the recipe Here is a link to their website: https://redux-saga.js.org/

  • rtk-query

    Discontinued Data fetching and caching addon for Redux Toolkit

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Generators in the wild

    3 projects | dev.to | 6 Aug 2023
  • What is the best plan to catch data from multiple api calls and display some data

    2 projects | /r/reactjs | 16 Oct 2022
  • [AskJS] Where will I need to write generator functions?

    4 projects | /r/javascript | 17 Sep 2022
  • How to handle form state with Formik and Redux-Saga

    2 projects | /r/codehunter | 26 Apr 2022
  • Functional core / Imperative shell arch example

    2 projects | /r/Clojure | 1 Apr 2022