question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React warnings when using FacebookShareButton component

See original GitHub issue

When using the FacebookShareButton component I’m getting the following React warnings:

  • React does not recognize the windowWidth prop on a DOM element.
  • React does not recognize the windowHeight prop on a DOM element.
  • React does not recognize the networkLink prop on a DOM element.
  • React does not recognize the disabledStyle prop on a DOM element.
  • React does not recognize the openShareDialogOnClick prop on a DOM element.
  • React does not recognize the resetButtonStyle prop on a DOM element.

I’m also using the TwitterShareButton and WhatsappShareButton components and not seeing these warnings when using those components.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Bunlongcommented, Apr 29, 2021

Dear all, It was fixed by @helloitsm3. Thank you so much!

2reactions
helloitsm3commented, Feb 4, 2021

If it’s taking so long, would you mind forking it and posting a link here to your fix?

https://github.com/helloitsm3/next-share

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-share image not showing when shared - Stack Overflow
and in my details component i am using react-helmet t dynamically put the title where the share buttons. render() { const { project,...
Read more >
Invalid Hook Call Warning - React
Invalid Hook Call Warning ... You are probably here because you got the following error message: Hooks can only be called inside the...
Read more >
react-share - npm
Social media share buttons and share counts for React. ... Start using react-share in your project by running `npm i react-share`.
Read more >
How to use React Share with Prop-Passer | by Steadylearner
In this post, I want to share with you how to use React-Share for mobile devices. ... is showing the warning that you...
Read more >
react-share | Yarn - Package Manager
Social media share buttons and share counts for React. react, component, react-component, social. readme. react-share. npm version ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found