Coder Social home page Coder Social logo

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined about react-picky HOT 10 CLOSED

pardeep889 avatar pardeep889 commented on August 12, 2024
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined

from react-picky.

Comments (10)

Aidurber avatar Aidurber commented on August 12, 2024

Can you host a repository on Github reproducing this issue?

from react-picky.

pardeep889 avatar pardeep889 commented on August 12, 2024

I can only show you errors and package.json and I think its enough :)

and I have also added the example

from react-picky.

pardeep889 avatar pardeep889 commented on August 12, 2024

Did you check that?

from react-picky.

Aidurber avatar Aidurber commented on August 12, 2024

@pardeep889 I don't believe it's an issue with Picky, see this codesandbox:
https://codesandbox.io/s/xenodochial-darkness-4kok4

It works fine until I add react-modal.

from react-picky.

pardeep889 avatar pardeep889 commented on August 12, 2024

and its not working

from react-picky.

Aidurber avatar Aidurber commented on August 12, 2024

How is it not working? I'm not getting the error you're reporting.

from react-picky.

pardeep889 avatar pardeep889 commented on August 12, 2024

that is not an error I have mentioned the error above

from react-picky.

r-moore avatar r-moore commented on August 12, 2024

I also get this error and can reproduce it in a code sandbox.

See: https://codesandbox.io/s/hardcore-tereshkova-y60e5

Note that if you change the version of react-picky (in package.json) to 4.1.0 the error goes away - seems to be a bug in 5.x release of react-picky.

from react-picky.

Aidurber avatar Aidurber commented on August 12, 2024

@r-moore In v5, Picky is no longer a default export (some weird issue with TSDX it seemed), see: https://github.com/Aidurber/react-picky#migrations

from react-picky.

pardeep889 avatar pardeep889 commented on August 12, 2024

it's very late I have used another library for that :) anyway thanks

from react-picky.

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.