[ENHANCEMENT] react-formio@1.x should support React v16
See original GitHub issueEnvironment
- react-formio branch/tag:
- 1.x
- NodeJS version: v12.7.0
- npm version: 6.10.0
Steps to Reproduce
- Create/open a React project which uses
react@16.*
- Install
formio@1x
as a production dependency on that project. - Compile/transpile and execute that React project inside a browser.
Expected behavior
The project should be able to execute successfully inside a browser without any errors.
Observed behavior
The project fails to execute. Following error shows on the browser console:
./node_modules/react-formio/lib/components/FormComponents/address.js
Uncaught TypeError: _react2.default.createClass is not a function
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
[ENHANCEMENT] react-formio@1.x should support React v16
The project should be able to execute successfully inside a browser without any errors. Observed behavior. The project fails to execute.
Read more >React v16.0 – React Blog
We're excited to announce the release of React v16.0! ... improvement in Node 6, and a full 3.8x improvement in the new Node...
Read more >React v16.2.0: Improved Support for Fragments
React 16.2 is now available! The biggest addition is improved support for returning multiple children from a component's render method.
Read more >React v16.8: The One With Hooks
React Native will support Hooks in the 0.59 release. Tooling Support. React Hooks are now supported by React DevTools. They are also supported...
Read more >React v18.0 – React Blog
We've spent years researching and developing support for ... Note for React Native users: React 18 will ship in React Native with the...
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
Hi @randallknutson, so it’s like about month passed away, can you share next build date?
react-formio@1
it’s really one of important part of my project, and switching to newer react version is impossible without this patch:(I’ll get this merged the next time I do a build.