Code Monkey home page Code Monkey logo

Comments (8)

atomiks avatar atomiks commented on May 24, 2024 4

Likely a Next.js minification bug, was also filed here: atomiks/tippyjs#1132

from tippyjs-react.

DaanWevolver avatar DaanWevolver commented on May 24, 2024 4

I have exactly the same issue after upgrading to next 13.4.11 (from next 12). downgrading to 13.4.9 fixed the issue for me.

from tippyjs-react.

icyJoseph avatar icyJoseph commented on May 24, 2024 1

I'll be fixed by swc-project/swc#7702 as indicated here: vercel/next.js#53151 (comment)

from tippyjs-react.

CopyJosh avatar CopyJosh commented on May 24, 2024

Same issue. Not using the new app directory, so not sure what the fallout is from this last upgrade...

Been meaning to drop this dead package for awhile now... guess that time has come.

from tippyjs-react.

icyJoseph avatar icyJoseph commented on May 24, 2024

Hi, I believe the problem might be SWC. I've set up a playground example here

I've tested in Next.js and running with swcMinify set to false works. So I guess that's a pretty good indicator anyway.

For completeness sake, what happens is that:

Gets minified into an empty object, and calling fn() on it, crashes out.

from tippyjs-react.

aslakson avatar aslakson commented on May 24, 2024

I ran into this issue and forked this repo with a temporary fix. I am filtering the plugins list and hard-coded the classNamePlugin in the two places it was being imported as a temporary workaround. I plan on switching back to this repo as soon as SWC stops doing what it's doing. I have no plans to support other bug fixes or changes, but use it if you want:

https://github.com/aslakson/tippyjs-react

yarn add @aslakson/tippyjs-react

from tippyjs-react.

FengeRVictor avatar FengeRVictor commented on May 24, 2024

Same issue for me started with nextjs 13.4.10

from tippyjs-react.

resthedev avatar resthedev commented on May 24, 2024

This appears fixed for me now as of NextJS v13.4.15

Thank you team!

from tippyjs-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.