Is your feature request related to a problem? Please describe.
The Prismic Toolbar is currently loaded using @prismicio/react's <PrismicToolbar> component. While this currently works, it results in an extra dependency and is likely less optimal than using Next.js's built-in <script> handling.
Describe the solution you'd like
<PrismicPreview> could replace it's <PrismicToolbar> usage using Next.js's <Script> component directly.
Is your feature request related to a problem? Please describe.
The Prismic Toolbar is currently loaded using
@prismicio/react
's<PrismicToolbar>
component. While this currently works, it results in an extra dependency and is likely less optimal than using Next.js's built-in<script>
handling.Describe the solution you'd like
<PrismicPreview>
could replace it's<PrismicToolbar>
usage using Next.js's<Script>
component directly.Describe alternatives you've considered
N/A
Additional context
https://nextjs.org/docs/basic-features/script