Does the latest version require React 16.8
See original GitHub issueDo you want to request a feature or report a bug?
- [x ] I found a bug
- I want to propose a feature
What is the current behavior? I want to add ‘react-dropzone’ to our existing live project. After installing I followed the usage instructions. Since Hooks are only available on React 16.8, and our React version is 16.7 I used the Wrapper component option. When running “npm start” the following Error showed in the browser’s console:
Uncaught TypeError: Object(...) is not a function
at useDropzone (index.js:502)
at eval (index.js:170)
Here is a screenshot from the Sources:
It seems React-Dropzone is dependent on React hooks, and therefor on React 16.8. It seems React 16.8 is a requirement of the latest version of React-Dropzone. But nowhere in the documentation does it mention it.
React v: 16.7 “react-dropzone”: “^10.0.4”,
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
Versions - React
See our FAQ for information about our versioning policy and commitment to stability.
Read more >React 16.8 - npm
React is a JavaScript library for building user interfaces.. Latest version: 18.2.0, last published: 6 months ago. Start using react in your ...
Read more >React 16.8 now Released with React Hook Implementation
In recent news, one of the React developers revealed the launch of React 16.8. Dan Abramov, informed that this new React version will...
Read more >What's new in React 16.8 | React New Features - Zeolearn
React 16.8 marks a major step forward in React and the way developers can implement function components and use React features. Hooks :...
Read more >How To Update the React js project from 15.6 to 16.8?
You will have to install the latest version that you want to upgrade to by running npm install --save react@^16.8.0 react-dom@^16.8.0 or ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Will make an update in the coming days, thanks for pointing it out.
@gupta-kartik see release notes for v10.0.0.