UMD version error: React.createElement: type is invalid
See original GitHub issueI’m trying to use the client-ready version of the component. However I’m facing the following error:
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
I have attached a bare-bones version of what I’m trying to achieve.
sample.zip
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
React.Create Element type is Invalid - Stack Overflow
Im using Typescript, Electron, Webpack and NodeJS to make a webapp but for some reason the import/export isnt working properly. The error im ......
Read more >Warning: React.createElement: type is invalid -- expected a ...
I have uninstalled and reinstalled reac and react-dom, and the problem still persists, try a new project cloning it from a friend, and...
Read more >Error React createElement type is invalid expected a string for ...
The issue you have encountered was caused by mixing two different module systems which differ in the way they are resolved and implemented....
Read more >React.createElement: type is invalid error after bundling and ...
Coding example for the question React.createElement: type is invalid error after bundling and importing react component to another react app-Reactjs.
Read more >How to Build Your Own Version of React From Scratch - Andela
createElement takes a node-type , props and finally children . ... load the umd version because it sets global.tevreact --> <script src=".
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 Free
Top 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
@KamyarP try:
and let me know if the problem is still remain and open this issue again, thanks
I will improve the UMD system in future
https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/getting-started.html#umd