
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@next/third-parties
Advanced tools
`@next/third-parties` is a collection of components and utilities that can be used to efficiently load third-party libraries into your Next.js application.
@next/third-parties
@next/third-parties
is a collection of components and utilities that can be used to efficiently load third-party libraries into your Next.js application.
Note:
@next/third-parties
is still experimental and under active development.
The YouTubeEmbed
component is used to load and display a YouTube embed. This component loads faster by using lite-youtube-embed under the hood.
import { YouTubeEmbed } from '@next/third-parties/google'
export default function Page() {
return <YouTubeEmbed videoid="ogfYd705cRs" height={400} />
}
The GoogleMapsEmbed
component can be used to add a Google Maps Embed to your page. By default, it uses the loading
attribute to lazy-load below the fold.
import { GoogleMapsEmbed } from '@next/third-parties/google'
export default function Page() {
return (
<GoogleMapsEmbed
apiKey="XYZ"
height={200}
width="100%"
mode="place"
q="Brooklyn+Bridge,New+York,NY"
/>
)
}
To get a better idea of how these components work, take a look at this demo.
FAQs
`@next/third-parties` is a collection of components and utilities that can be used to efficiently load third-party libraries into your Next.js application.
The npm package @next/third-parties receives a total of 0 weekly downloads. As such, @next/third-parties popularity was classified as not popular.
We found that @next/third-parties demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.