gargroh / react-table-plugins

This contains miscellaneous react-table v7 plugins
MIT License
99 stars 22 forks source link

Add support for React 18 #109

Open jeff-kilbride opened 2 years ago

jeff-kilbride commented 2 years ago

Installation is failing with React 18 due to peer dependencies in package.json:

  "peerDependencies": {
    "react": "^16.8.3 || ^17.0.0",
    "react-table": "^7.0.5"
  },
$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-app@1.0.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.3 || ^17.0.0" from react-table-plugins@1.3.2
npm ERR! node_modules/react-table-plugins
npm ERR!   react-table-plugins@"^1.3.2" from the root project
npm ERR!

Installation works and there are no issues using npm install --force, but it's a kludge. Let me know if you'd like a pull request for this.

Thanks!

gargroh commented 2 years ago

yeah, will be happy to accept pr for this.

skychavda commented 1 year ago

Any update on this error?

gargroh commented 1 year ago

updated pls use latest version, ref