Git Product home page Git Product logo

Comments (4)

nstepien avatar nstepien commented on June 27, 2024

Sounds like you need to update the @types/react/@types/react-dom packages in your project

from react-data-grid.

leinjay avatar leinjay commented on June 27, 2024

in my project:
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
which is higher than react-data-grid requires,
maybe the other reason?

from react-data-grid.

nstepien avatar nstepien commented on June 27, 2024

What version of TypeScript do you use?

from react-data-grid.

pavlovich avatar pavlovich commented on June 27, 2024

We are experiencing the exact same issue with this package. Our version info is as follows:

"typescript": "^4.7.4",
"react": "^18.2.0",
"react-data-grid": "^7.0.0-beta.42",
"react-dom": "^18.2.0",
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.1",
"@types/node": "^16.11.41",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",

and our tsconfig file contains the following:

{
"compilerOptions": {
"target": "ES6",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
},
"typeRoots": [
"src/types",
"node_modules/@types",
],
"include": [
"src"
]
}

Any help would be appreciated.

from react-data-grid.

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.