GithubHelp home page GithubHelp logo

Super expression must either be null or a function, not undefined - troubleshooting with import of react-datasheet about react-datasheet HOT 3 CLOSED

nadbm avatar nadbm commented on May 21, 2024 1
Super expression must either be null or a function, not undefined - troubleshooting with import of react-datasheet

from react-datasheet.

Comments (3)

nadbm avatar nadbm commented on May 21, 2024

hey @fzoozai, I'll need more details as to your issue. Is this an issue introduced in the new version?
What's the react version you're using and what's your build process.

https://stackoverflow.com/questions/30116430/reactjs-giving-error-uncaught-typeerror-super-expression-must-either-be-null-or

from react-datasheet.

fzoozai avatar fzoozai commented on May 21, 2024

@nadbm
my current react version is "react": "^0.14.3"

While trying to figure out how to solve my problem I checked whether I get the error by only including the data-sheet lib into my project like:

datasheet-issue

As expected I got:
screen shot 2017-05-29 at 22 36 28

Then I removed import ReactDataSheet from 'react-datasheet'; and got rid of the error message and the Hello World Message shown.
That's why I thought the reason for that could have something to do with the last commit within the data-sheet project.

from react-datasheet.

nadbm avatar nadbm commented on May 21, 2024

@fzoozai
The project uses PureComponent which was introduced in react 15.3.0 , so please update your react dependency and it should work fine. In the meantime, I'll change the dependency so that npm warns other users.

from react-datasheet.

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.