Unverified Commit c8666a17 authored by Christian Nielsen's avatar Christian Nielsen Committed by GitHub

Fix typo in dynamic import section of dynamic-import.md (#37872)

Under the dynamic import section of dynamic-import.md, I've corrected "libaries" to "libraries".
parent d8bfa7b1
......@@ -11,7 +11,7 @@ description: Dynamically import JavaScript modules and React Components and spli
</ul>
</details>
Next.js supports lazy loading external libraries with `import()` and React components with `next/dynamic`. Deferred loading helps improve the initial loading performance by decreasing the amount of JavaScript necessary to render the page. Components or libaries are only imported and included in the JavaScript bundle when they're used.
Next.js supports lazy loading external libraries with `import()` and React components with `next/dynamic`. Deferred loading helps improve the initial loading performance by decreasing the amount of JavaScript necessary to render the page. Components or libraries are only imported and included in the JavaScript bundle when they're used.
`next/dynamic` is an extension of [`React.lazy`](https://reactjs.org/docs/code-splitting.html#reactlazy). When used in combination with [`Suspense`](https://reactjs.org/docs/react-api.html#reactsuspense), components can delay hydration until the Suspense boundary is resolved.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment