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 paths | 0 |
|---|---|
| Removed exports | 13 |
| Changed signatures | 22 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 1 |
| New exports | 53 |
Removed exports
| import | export | kind | Before |
|---|---|---|---|
react-share | PocketIcon | function | (props: IconProps): JSX.Element |
react-share | TwitterIcon | function | (props: IconProps): JSX.Element |
react-share | OKShareCount | variable | (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-share | VKShareCount | variable | (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-share | WorkplaceIcon | function | (props: IconProps): JSX.Element |
react-share | HatenaShareCount | variable | (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-share | RedditShareCount | variable | (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-share | TumblrShareCount | variable | (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-share | PocketShareButton | variable | ForwardRefExoticComponent<any> |
react-share | FacebookShareCount | variable | (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-share | TwitterShareButton | variable | ForwardRefExoticComponent<any> |
react-share | PinterestShareCount | variable | (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-share | WorkplaceShareButton | variable | ForwardRefExoticComponent<any> |
Changed signatures
| export | Before | After |
|---|---|---|
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)
| Before | After | |
|---|---|---|
peerDependencies.react | ^17 || ^18 || ^19 | ^18 || ^19 |
New exports (53)
| import | export | kind |
|---|---|---|
react-share | XLegacyIcon | function |
react-share | shareNative | function |
react-share | OKLegacyIcon | function |
react-share | VKLegacyIcon | function |
react-share | GabLegacyIcon | function |
react-share | LineLegacyIcon | function |
react-share | WindowPosition | type |
react-share | buildXShareUrl | variable |
react-share | canNativeShare | function |
react-share | EmailLegacyIcon | function |
react-share | NativeShareData | type |
react-share | NativeShareIcon | function |
react-share | ViberLegacyIcon | function |
react-share | WeiboLegacyIcon | function |
react-share | buildOKShareUrl | variable |
react-share | buildVKShareUrl | variable |
react-share | openShareWindow | function |
react-share | HatenaLegacyIcon | function |
react-share | MailruLegacyIcon | function |
react-share | RedditLegacyIcon | function |
react-share | TumblrLegacyIcon | function |
react-share | buildGabShareUrl | variable |
react-share | BlueskyLegacyIcon | function |
react-share | NativeShareButton | variable |
react-share | ThreadsLegacyIcon | function |
react-share | buildLineShareUrl | variable |
react-share | FacebookLegacyIcon | function |
react-share | LinkedinLegacyIcon | function |
react-share | ShareWindowOptions | type |
react-share | TelegramLegacyIcon | function |
react-share | WhatsappLegacyIcon | function |
react-share | buildEmailShareUrl | variable |
react-share | buildViberShareUrl | variable |
react-share | buildWeiboShareUrl | variable |
react-share | PinterestLegacyIcon | function |
react-share | buildHatenaShareUrl | variable |
react-share | buildMailruShareUrl | variable |
react-share | buildRedditShareUrl | variable |
react-share | buildTumblrShareUrl | variable |
react-share | InstapaperLegacyIcon | function |
react-share | buildBlueskyShareUrl | variable |
react-share | buildThreadsShareUrl | variable |
react-share | LivejournalLegacyIcon | function |
react-share | NativeShareLegacyIcon | function |
react-share | buildFacebookShareUrl | variable |
react-share | buildLinkedinShareUrl | variable |
react-share | buildTelegramShareUrl | variable |
react-share | buildWhatsappShareUrl | variable |
react-share | buildPinterestShareUrl | variable |
react-share | buildInstapaperShareUrl | variable |
react-share | buildLivejournalShareUrl | variable |
react-share | FacebookMessengerLegacyIcon | function |
react-share | buildFacebookMessengerShareUrl | variable |
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