react-async-component VS react-loadable

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

react-async-component

Resolve components asynchronously, with support for code splitting and advanced server side rendering use cases. (by ctrlplusb)

react-loadable

:hourglass_flowing_sand: A higher order component for loading components with promises. (by jamiebuilds)
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
react-async-component react-loadable
1 6
1,447 16,595
- -
0.0 0.0
over 1 year ago over 1 year 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.

react-async-component

Posts with mentions or reviews of react-async-component. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2020-12-23.
  • Show HN: Django and React SaaS boilerplate tutorial
    10 projects | news.ycombinator.com | 23 Dec 2020
    I've spent many years working on django including production setups for 3 different companies. My strong advice is to only use Django for API calls (DRF) and the built in admin UI. Do not use Django for ANY client facing static site rendering.

    1. Deploy the React static pages and JS/CSS resources completely separately from Django. Cloudfront/S3 is my personal choice. You will need to tweak the CORS_ORIGIN_WHITELIST and CORS_ALLOW_HEADERS in the django settings but that's relatively easy.

    2. Use Gatsy or something similar to help you with static site generation using react. Remember: React is in charge of HTML/JS/CSS of any type and Django should not get involved.

    3. Use https://github.com/ctrlplusb/react-async-component or something similar to help break up your SPA so the browser doesn't have to load all of it at once and only loads smaller components on an as needed basis.

    Don't mess with webpack and eject unless you have a very specialized need that cannot be addressed with everything out there.

react-loadable

Posts with mentions or reviews of react-loadable. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-19.
  • 16 React Tools to Help You Keep Your Sanity in a Crazy World
    9 projects | dev.to | 19 Mar 2023
    Website: https://github.com/jamiebuilds/react-loadable
  • Some Very Cool (Underrated maybe) React Libraries
    4 projects | dev.to | 8 Feb 2023
    React Loadable: This library makes it easy to split your React code into smaller, lazy-loaded chunks that can be loaded on demand. This can significantly improve the initial loading time of your application, especially for large and complex apps. https://github.com/jamiebuilds/react-loadable
  • Unit Testing dynamically imported React Component
    1 project | /r/codehunter | 7 May 2022
    I have a very simple React component that uses react-loadable to dynamically import another component. The code looks something akin to the following:
  • Awesome React Resources
    34 projects | dev.to | 4 Dec 2021
    react-loadable - A higher order component for loading components with promises
  • How to choose a third party package
    6 projects | dev.to | 4 Dec 2021
    It's very important that you are choosing an active project instead of a dead/unmaintained project. An active project improves over time through community feedback. An unmaintained project does not move forward, fix functional bugs or patch security issues. Sometimes, a very popular package can be abandoned and go into a "frozen" state with many open issues and pull requests. It might have been a great solution in the past, but this is a sign that we have to move on. An example is react-loadable. It was a great solution for a very long time for code-splitting in React. I totally loved it. But it's stale now with many issues and PRs since 2018 (this post is written at the end of 2021). Now, if I need to split code in React, I use loadable-components, which is in active development, becoming more popular, patches bugs reported by the community, and most importantly, solves my problems. My personal advice: choose a package that's active in the last 3-6 months, with issues that are being resolved and PRs that are being merged.
  • React Lazy Loading; does it slow down your app?
    2 projects | /r/reactjs | 18 Apr 2021
    Preloading is possible with react-loadable: https://github.com/jamiebuilds/react-loadable#preloading

What are some alternatives?

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

loadable-components - The recommended Code Splitting library for React ✂️✨

cookiecutter-react-django - From hello world to Heroku deployment, using separated Front and Back Ends

react-snap - 👻 Zero-configuration framework-agnostic static prerendering for SPAs

django-sockpuppet - Build reactive applications with the django tooling you already know and love.

Next.js - The React Framework

django-react-boilerplate - DIY Django + React Boilerplate for starting your SaaS

babel-plugin-styled-components - Improve the debugging experience and add server-side rendering support to styled-components

django-webpack-loader - Transparently use webpack with django

ultra - Zero-Legacy Deno/React Suspense SSR Framework

cash - An absurdly small jQuery alternative for modern browsers.

react-lazy-with-preload - React.lazy() with preload support!