Skip to content

Commit

Permalink
docs(readme): remove the mention of Suspense "maxDuration"
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge authored Nov 6, 2018
1 parent e3ee107 commit 766bd66
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,6 @@ export const OtherComponent = loadable(() =>
)
```
> With suspense, use `<Suspense maxDuration={200}>` to have the same effect.
### Timeout
Infinite loading is not good for user experience, to avoid it implementing a timeout is a good workaround. You can do it using a third party module like [`promise-timeout`](https://github.com/building5/promise-timeout):
Expand Down

0 comments on commit 766bd66

Please sign in to comment.