microlinkhq / sdk

Make any URL embeddable. Turn any URL into a beautiful link preview.

Home Page:https://microlink.io/sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[vue] Can't perform a React state update on an unmounted component

razbakov opened this issue · comments

Bug Report

I created Codesandbox but it works without problem.

Current Behavior

Locally I have error message in console:

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 a useEffect cleanup function.
    in Card (created by GlobalState)
    in GlobalState (created by Microlink)
    in Microlink

Possible Solution

Found here same bug

@razbakov

I think this is a thing related with React lifecycle that eventually you see cause it was wrong on the React codebase.

It should be work fine now – just confirm to me, otherwise we can try to triage what's happening 🙂