Browse Source

Fix typo in the React API Reference `React.Suspense` section (#2412)

Alternatively, "`React.Suspense` allows you to specify..."
main
Bob Ziroll 5 years ago
committed by Alexey Pyltsyn
parent
commit
0a7beebf2b
  1. 2
      content/docs/reference-react.md

2
content/docs/reference-react.md

@ -333,7 +333,7 @@ Note that rendering `lazy` components requires that there's a `<React.Suspense>`
### `React.Suspense` {#reactsuspense}
`React.Suspense` let you specify the loading indicator in case some components in the tree below it are not yet ready to render. Today, lazy loading components is the **only** use case supported by `<React.Suspense>`:
`React.Suspense` lets you specify the loading indicator in case some components in the tree below it are not yet ready to render. Today, lazy loading components is the **only** use case supported by `<React.Suspense>`:
```js
// This component is loaded dynamically

Loading…
Cancel
Save