Open gergely-ujvari opened 6 years ago
Did you find a way to fix this (even just temporarily) @gergely-ujvari ?
I'm running into this as well. It appears that the Google Maps API docs changed formatting. Now details of classes are in their own pages, so ClassDefinition.js
needs to be updated. I'm working through this issue, so I may be able to produce a PR shortly.
@thzinc look at our new project, which supports async react, etc. https://github.com/justfly1984/react-google-maps-api We are currently working on docs, etc. some of components is not done yet, but in general it is complete rewrite. And it does builds, and tree-shakable.
I'm working on a fix for this in a fork. I'll PR upstream when I've passed a round of reviews by my engineering team. https://github.com/syncromatics/react-google-maps/pull/1
@JustFly1984 I'll take a look at your project, but I'm not quite ready to make a wholesale change to a new library. I have a significant codebase that is built around this package.
@thzinc welcome! Anyway You need to think about new React 16.7 support, when react 16.7 will be out of beta. Current version does not support async react. You can help us out by joining our project as maintainer if you are interested.
if trying to run
yarn build:src
, it fails, with the following error message:After a little debugging I realized, that what is happenning inside
ClassDefinition.js
that it downloads the html page fromhttps://developers.google.com/maps/documentation/javascript/3.exp/reference
and tries to parse it and fails.This is most probable due to the fact that google changed the structure of that homepage. Basing the build on an outside html source was never a good way to be reliable.