Element type invalid : expected string in react-transition-group
问题 As mentioned in this answer here : why is react-addons-css-transition-group not working here? , I tried using the react-transition-group module but it gives the following error when I start react. How do I fix this ? Uncaught Error: 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.