An open API service indexing awesome lists of open source software.

https://github.com/qvil/async-react


https://github.com/qvil/async-react

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Async React

Asynchronous React example with [SWR Suspense][swr-suspense], [Error Boundaries][error-boundaries]

## [Demo](https://codesandbox.io/s/confident-monad-tcm2n)

![demo](demo.gif)

## Prerequisites

- Node.js >= 14.x (Recommended the latest version)

## Install

```bash
npm install
# or
yarn
```

## Development

```bash
npm run start
# or
yarn start
```

## Build

```bash
npm run build
# or
yarn build
```

## Start

```bash
yarn global add serve
serve -s build
```

## 🌏 Supported Browser

| IE / Edge IE | Edge | Firefox Firefox | Chrome Chrome | Safari Safari | Opera Opera |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| >= 11 | >= 85 | >= 80 | >= 84 | >= 13 | >= 70 |

## License

MIT

[swr-suspense]: https://swr.vercel.app/docs/suspense
[error-boundaries]: https://reactjs.org/docs/error-boundaries.html#gatsby-focus-wrapper