saurabhnemade / react-twitter-embed

Simplest way to add twitter widgets to your react project.
https://saurabhnemade.github.io/react-twitter-embed/
367 stars 66 forks source link

State Update of parent component causes crash #46

Open ion-willo opened 4 years ago

ion-willo commented 4 years ago

Hi,

When updating the parent components state, we get:

Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it 
indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks
in the componentWillUnmount method.
    in TwitterMomentShare ...

Any advice?