fdaciuk / fdaciuk/load-async

Add option to pass a component that will be rendered until the promise is resolved.

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16
Forks
1
PR merge metrics
No merged PRs in 30d

Description

It should looks like:

```js
import Loading from 'components/loading'

const Header = loadAsync(import('components/header'), {
loadingComponent: (props) =>
})
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.