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;
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With