Home

Awesome

Guide To Async Components

JavaScript async components

Also known as code splitting, dynamic import (TC39 proposal), "chunks" (which are loaded on demand), "layers", "rollups", or "fragments".

Async component (in React) is a technique (typically implemented as a Higher Order Component) for loading components with dynamic import.

See also: Redux modules and code-splitting, lazy loading guidance

Solutions

Strategies

Placeholders

See also:

Media: images, video

Strategies

See also:

Placeholders

See also:

Responsive (resize) strategies

See also:

Solutions

Resizing images on the fly

Examples from real world

AWS Lambda + S3

Golang + FaaS

Go is the perfect fit for this kind of task. AWS Lambda now supports Go. Also you can use Go with Google Cloud functions.

Infinite scroll

A special case of async components. Example: react-virtualized