Reputation: 41
I have this weird error (Super expression must either be null or a function, not undefined) when I just import react-google-maps. Any idea?
import React from 'react';
import { GoogleMap } from 'react-google-maps';
class GoogleMapFlow extends React.Component{
constructor(props){
super(props);
}
render() {
return (
<div>Hello World</div>
);
}
}
export default GoogleMapFlow;
Upvotes: 3
Views: 353
Reputation: 354
I had the same issue with version 9.4.5 of react-google-maps, but react was v0.14.8. updating react to 16 solved the problem.
Upvotes: 1