react-googlemaps
react-googlemaps copied to clipboard
server-side rendering
Hey,
i'm currently just playing around, and looked over the source. I saw that you're referencing the window object at some points. As far as i checked it out this will throw an Error and makes server side rendering impossible. Do you have any plan to support React.renderToString aka. server-side rendering ?
Thanks in advance!
I had the same challenge. This component is a super user friendly component for client-side, but when you're doing isomorphic rendering it's not quite ready for prime time.
You might want to check out https://github.com/matnel/react-maps. Implemented server and client-side together with no issues.
Any movement on this issue?
@ivosabev i've ended up using https://github.com/MicheleBertoli/react-gmaps