Code Monkey home page Code Monkey logo

[BUG] Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. about chakra-react-select HOT 3 CLOSED

csandman avatar csandman commented on May 26, 2024
[BUG] Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

from chakra-react-select.

Comments (3)

csandman avatar csandman commented on May 26, 2024 1

Thanks for the heads up! Looks like this is happening with any version of Chakra UI under the most recent, 2.2.1. I'm pretty sure I know what's causing it, I'll get a fix out sometime tomorrow.

EDIT: Just saw that you already mentioned the version 2.2.1 part haha, my bad

from chakra-react-select.

csandman avatar csandman commented on May 26, 2024 1

Ok I ended up publishing a new version tonight, which I hope doesn't have any other issues. This fix is mainly just reverting a change made in v4.0.0 so it shouldn't have any problems.

Feel free to reopen if you're still having problems!

from chakra-react-select.

larrysharette avatar larrysharette commented on May 26, 2024

Sounds great! Yeah I was wondering why I couldn't reproduce it in the code sandbox until I noticed it was on the latest version. So I bumped it back to 2.2.0 which is what I had locally and that's when it popped back up. I'm glad there is a workaround 🙂

from chakra-react-select.

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.