async-props VS react-async

Compare async-props vs react-async and see what are their differences.

async-props

Co-located data loading for React Router (by ryanflorence)

react-async

[DEPRECATED] Asynchronously fetch data for React components (by andreypopp)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
async-props react-async
- 1
567 445
- -
0.0 0.0
about 7 years ago over 7 years ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

async-props

Posts with mentions or reviews of async-props. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning async-props yet.
Tracking mentions began in Dec 2020.

react-async

Posts with mentions or reviews of react-async. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-01.
  • Strategies for server-side rendering of asynchronously initialized React.js components
    4 projects | /r/codehunter | 1 Nov 2021
    React-async. This approach is perfect. It lets me simply define in a special function in each component how to initialize the state (doesn't matter whether synchronously or asynchronously) and these functions are called as the hierarchy is being rendered to HTML. It works in a way that a component is not rendered until the state is completely initialized. The problem is that it requires Fibers which is, as far as I understand, a Node.js extension that alters the standard JavaScript behavior. Although I really like the result, it still seems to me that instead of finding a solution we changed the rules of the game. And I think we shouldn't be forced to do that to use this core feature of React.js. I'm also not sure about the general support of this solution. Is it possible to use Fiber on standard Node.js web hosting?

What are some alternatives?

When comparing async-props and react-async you can also consider the following projects:

react-refetch - A simple, declarative, and composable way to fetch data for React components

react-router-relay - [Deprecated] Relay Classic integration for React Router

redux-async-connect - It allows you to request async data, store them in redux state and connect them to your react component.

redial - Universal data fetching and route lifecycle management for React etc.

redux-connect - Provides decorator for resolving async props in react-router, extremely useful for handling server-side rendering in React

axios-react - 🌐 HTTP client component for React based on Axios

react-resolver - Async rendering & data-fetching for universal React applications.