react-async-component

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

React-async-component Alternatives

Similar projects and alternatives to react-async-component

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better react-async-component alternative or higher similarity.

react-async-component reviews and mentions

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.

Stats

Basic react-async-component repo stats
1
1,447
0.0
over 1 year ago

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com