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.

TypeError: item.destroy is not a function

See original GitHub issue

Hi, I am using vue-lazyload version: 1.3.1 and vue version: 2.6.10.

I am receiving TypeError while using <lazy-component>:

Uncaught TypeError: item.destroy is not a function
    at eval (vue-lazyload.esm.js?0177:1349)
    at Array.forEach (<anonymous>)
    at Lazy._lazyLoadHandler (vue-lazyload.esm.js?0177:1347)
    at runCallback (vue-lazyload.esm.js?0177:484)

Zrzut ekranu 2019-07-11 o 10 35 49

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:5
  • Comments:5

github_iconTop GitHub Comments

21reactions
coleShangcommented, Jul 12, 2019

me too

5reactions
JensvdHeydtcommented, Sep 4, 2019

@hilongjw The fix to this problem is already merged into master. Could you please make a new release, so that all these issues can get resolved?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix the "Uncaught TypeError: destroy is not a function" Error in ...
This React error seems particularly cryptic, but ends up making a lot of sense when you get the hang of the useEffect hook....
Read more >
TypeError: destroy is not a function [duplicate] - Stack Overflow
Closed 4 months ago. I am getting this error after using 'useContext(RobinhoodContext)' and importing useContext(that is what I think is going ...
Read more >
destroy is not a function...from commitHookEffectListUnmount ...
This error pops up whenever I save to refresh (fast refresh)...it goes away when I make a different change only to re-appear in...
Read more >
React — Uncaught TypeError: destroy is not a function - Medium
This function will run when the component unmounts. This can be thought of as roughly equivalent to the componentWillUnmount lifecycle method ...
Read more >
destroy is not a function at safelycalldestroy - You.com
Uncaught TypeError: destroy is not a function. It turns out this almost always happens when you try to return anything from your useEffect...
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