react.dev
react.dev copied to clipboard
Adding Script component for inline script :)
Using <Script />
component from next/script
for inline colour mode script.
Using <Script /> component from next/script for inline colour mode script.
Can you elaborate what behavior you're seeing without this change, what behavior the change results in, and why we should change it?
Using <Script /> component from next/script for inline colour mode script.
Can you elaborate what behavior you're seeing without this change, what behavior the change results in, and why we should change it?
This doesn't have significant improvement but which have future benefits (In future next js versions)
Sorry if I made any mistakes 🙌😊
Sorry if I made any mistakes raised_handsblush
I didn't mean to imply that. I was wondering what this change is doing in the first place or what it's intended to do.
Sorry if I made any mistakes raised_handsblush
I didn't mean to imply that. I was wondering what this change is doing in the first place or what it's intended to do.
Actually I thought adding Script component might have behind the scene optimizations and better streaming support 🙌
Sorry if I made any mistakes raised_handsblush
I didn't mean to imply that. I was wondering what this change is doing in the first place or what it's intended to do.
And i thought it is a best practise to use next/script
:)