React-google-maps: ReferenceError: google is not defined with Server Side Rendering

Created on 21 May 2017  路  3Comments  路  Source: tomchentw/react-google-maps

I am getting the above error message while reloading the page (Server Side Rendering) while it works fine with client side rendering.

I am using the example from below link:
https://tomchentw.github.io/react-google-maps/basics/pop-up-window

Any solution for this ?

Most helpful comment

@exogenesys I didn't find the solution with this package. So I used google-map-react :)

All 3 comments

You have to decouple google on your own (for example, props you've passed in). I only guarantee on the library prospective.

@manoj150283 Did you come up with any solution?

@exogenesys I didn't find the solution with this package. So I used google-map-react :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wayofthefuture picture wayofthefuture  路  3Comments

EvHaus picture EvHaus  路  3Comments

tahir-masood1 picture tahir-masood1  路  4Comments

LukasZvikas picture LukasZvikas  路  3Comments

johnantoni picture johnantoni  路  3Comments