react-twitter-embed
react-twitter-embed copied to clipboard
Error on rendering TwitterTimelineEmbed using React 16.1.1
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`.
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!