Vigia

Upgrading react-share from 5.x to 6.x

Comparison of the public API of react-share 5.3.0 and 6.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths0
Removed exports13
Changed signatures22
Removed class or interface members0
Changed class or interface members0
Newly deprecated0
Requirement changes (engines, peer dependencies)1
New exports53

Removed exports

importexportkindBefore
react-sharePocketIconfunction(props: IconProps): JSX.Element
react-shareTwitterIconfunction(props: IconProps): JSX.Element
react-shareOKShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-shareVKShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-shareWorkplaceIconfunction(props: IconProps): JSX.Element
react-shareHatenaShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-shareRedditShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-shareTumblrShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-sharePocketShareButtonvariableForwardRefExoticComponent<any>
react-shareFacebookShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-shareTwitterShareButtonvariableForwardRefExoticComponent<any>
react-sharePinterestShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-shareWorkplaceShareButtonvariableForwardRefExoticComponent<any>

Changed signatures

exportBeforeAfter
react-share · XIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · OKIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · VKIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · GabIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · LineIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · EmailIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · ViberIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · WeiboIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · HatenaIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · MailruIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · RedditIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · TumblrIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · BlueskyIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · ThreadsIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · FacebookIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · LinkedinIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · TelegramIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · WhatsappIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · PinterestIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · InstapaperIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · LivejournalIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · FacebookMessengerIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element

Removed class or interface members

None detected.

Changed class or interface members

None detected.

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

BeforeAfter
peerDependencies.react^17 || ^18 || ^19^18 || ^19
New exports (53)
importexportkind
react-shareXLegacyIconfunction
react-shareshareNativefunction
react-shareOKLegacyIconfunction
react-shareVKLegacyIconfunction
react-shareGabLegacyIconfunction
react-shareLineLegacyIconfunction
react-shareWindowPositiontype
react-sharebuildXShareUrlvariable
react-sharecanNativeSharefunction
react-shareEmailLegacyIconfunction
react-shareNativeShareDatatype
react-shareNativeShareIconfunction
react-shareViberLegacyIconfunction
react-shareWeiboLegacyIconfunction
react-sharebuildOKShareUrlvariable
react-sharebuildVKShareUrlvariable
react-shareopenShareWindowfunction
react-shareHatenaLegacyIconfunction
react-shareMailruLegacyIconfunction
react-shareRedditLegacyIconfunction
react-shareTumblrLegacyIconfunction
react-sharebuildGabShareUrlvariable
react-shareBlueskyLegacyIconfunction
react-shareNativeShareButtonvariable
react-shareThreadsLegacyIconfunction
react-sharebuildLineShareUrlvariable
react-shareFacebookLegacyIconfunction
react-shareLinkedinLegacyIconfunction
react-shareShareWindowOptionstype
react-shareTelegramLegacyIconfunction
react-shareWhatsappLegacyIconfunction
react-sharebuildEmailShareUrlvariable
react-sharebuildViberShareUrlvariable
react-sharebuildWeiboShareUrlvariable
react-sharePinterestLegacyIconfunction
react-sharebuildHatenaShareUrlvariable
react-sharebuildMailruShareUrlvariable
react-sharebuildRedditShareUrlvariable
react-sharebuildTumblrShareUrlvariable
react-shareInstapaperLegacyIconfunction
react-sharebuildBlueskyShareUrlvariable
react-sharebuildThreadsShareUrlvariable
react-shareLivejournalLegacyIconfunction
react-shareNativeShareLegacyIconfunction
react-sharebuildFacebookShareUrlvariable
react-sharebuildLinkedinShareUrlvariable
react-sharebuildTelegramShareUrlvariable
react-sharebuildWhatsappShareUrlvariable
react-sharebuildPinterestShareUrlvariable
react-sharebuildInstapaperShareUrlvariable
react-sharebuildLivejournalShareUrlvariable
react-shareFacebookMessengerLegacyIconfunction
react-sharebuildFacebookMessengerShareUrlvariable

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What are the breaking changes when upgrading react-share from 5 to 6?

Between react-share 5.3.0 and 6.0.0, Vigia found 13 removed exports, 22 changed signatures and 0 removed or changed class or interface members.

What became deprecated in react-share 6?

0 exports or members are newly marked as deprecated in react-share 6.0.0.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/react-share/upgrade?from=5.3.0&to=6.0.0