Skip to content

Commit 766bd66

Browse files
authored
docs(readme): remove the mention of Suspense "maxDuration"
More context: https://twitter.com/dan_abramov/status/1059824315921825793
1 parent e3ee107 commit 766bd66

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,6 @@ export const OtherComponent = loadable(() =>
214214
)
215215
```
216216
217-
> With suspense, use `<Suspense maxDuration={200}>` to have the same effect.
218-
219217
### Timeout
220218
221219
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):

0 commit comments

Comments
 (0)