Unverified Commit 75016716 authored by Vadorequest's avatar Vadorequest Committed by GitHub

Doc "no-sync-scripts" remove experimental notice (#26225)

It's not experimental anymore.




## Documentation / Examples

- [ ] Make sure the linting passes
parent 58318a85
......@@ -11,7 +11,7 @@ A synchronous script was used which can impact your webpage's performance.
Use the Script component with the right loading strategy to defer loading of the script until necessary.
```jsx
import Script from 'next/experimental-script'
import Script from 'next/script'
const Home = () => {
return (
......@@ -25,8 +25,6 @@ const Home = () => {
export default Home
```
Note: This is still an experimental feature and needs to be enabled via the `experimental.scriptLoader` flag in `next.config.js`.
### Useful Links
- [Efficiently load third-party JavaScript](https://web.dev/efficiently-load-third-party-javascript/)
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