MaTeMaTuK / gantt-task-react

Gantt chart for React with Typescript
MIT License
899 stars 494 forks source link

React 18.0.0 doesn't really seem to be a requirement #174

Open adamskwersky opened 1 year ago

adamskwersky commented 1 year ago

The code seems to run fine with React ^16.14 (using npm 6.x which is lax on peer dependencies) Can we change the package.json to only require React4 ^16.14 instead of 18 as a peer dependency? Our product must continue using 16.14 for the time being.

savolkov commented 1 year ago

@MaTeMaTuK please take a look at that, this is a good idea. Here's the PR https://github.com/MaTeMaTuK/gantt-task-react/pull/184