![]() ![]() Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Now if I remove the Match tag line I get blank page with no error.īut if that Match tag line is there I get the following error: Warning: React.createElement: type is invalid - expected a string (for built-in components) or a class/function (for composite components) but got: undefined. #React router dom v4 context codeHere is the server.js code : import Express from 'express' ![]() I have tried every solution that I found on google but none of them seems to be working. I am rather new to reactjs and was testing basic server side rendering with react-router v4 but I cannot get past this error, been trying since hours. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |