I get this error every time I try to use react-transition-group with react-router
`×
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.
I get this error every time I try to use react-transition-group with react-router
`× 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.
Check the render method of
Router.Consumer
.`I get this even when I just copy code from https://reactcommunity.org/react-transition-group/with-react-router so I think it's problem with react-transition-group. Tried using v1, tried using react-tiger-transition, always the same error.