react-flip-move icon indicating copy to clipboard operation
react-flip-move copied to clipboard

Can't import library in HTML

Open vk496 opened this issue 3 years ago • 0 comments

Hello,

I'm trying to use this library, but when I import this block of code in my page:

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js"
        crossorigin="anonymous"></script>

I'm getting this error in the console:

 Uncaught TypeError: right-hand side of 'in' should be an object, got undefined                                        react-flip-move.js:7:22
    <anonymous> https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js:7
    <anonymous> https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js:4
    <anonymous> https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js:5
    <anonymous> https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js:7
    <anonymous> https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js:4
    <anonymous> https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js:5

Br

vk496 avatar Jul 29 '21 07:07 vk496