react-twitter-embed icon indicating copy to clipboard operation
react-twitter-embed copied to clipboard

Error on rendering TwitterTimelineEmbed using React 16.1.1

Open beto-aveiga opened this issue 5 years ago • 0 comments

I was having this error message for all the components:

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, or you might have mixed up default and named imports.

Check the render method of `TwitterTimelineEmbed`.

image

Then I updated to react 16.2.0 and it worked. Maybe this a dependency, but I'm still in a learning phase for React so I can't tell that for sure.

I hope that helps! Thanks!

beto-aveiga avatar Dec 11 '19 17:12 beto-aveiga