question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[ENHANCEMENT] react-formio@1.x should support React v16

See original GitHub issue

Environment

  • react-formio branch/tag:
    • 1.x
  • NodeJS version: v12.7.0
  • npm version: 6.10.0

Steps to Reproduce

  1. Create/open a React project which uses react@16.*
  2. Install formio@1x as a production dependency on that project.
  3. 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:open
  • Created 4 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
egorkarucommented, Oct 17, 2019

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:(

1reaction
randallknutsoncommented, Sep 16, 2019

I’ll get this merged the next time I do a build.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found