Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

TypeError: Cannot read property 'PropTypes' of undefined #11

Open
arambadk opened this issue Sep 4, 2016 · 3 comments
Open

TypeError: Cannot read property 'PropTypes' of undefined #11

arambadk opened this issue Sep 4, 2016 · 3 comments
Labels

Comments

@arambadk
Copy link

arambadk commented Sep 4, 2016

This is more of a question than an issue.

I see the problem on line 548 of formatted minified file. I do not have react in my project, do we need react for this widget to work? I also use the preact version of instantsearch.js

I would really appriciate some help.

Another thing that I wanted to point out was you probably want to update the readme to point to https://cdn.jsdelivr.net/instantsearch-googlemaps/1.2.6/instantsearch-googlemaps.min.js intead of the 1 that it points to right now.

Thanks

@vvo
Copy link
Contributor

vvo commented Sep 5, 2016

I see the problem on line 548 of formatted minified file. I do not have react in my project, do we need react for this widget to work? I also use the preact version of instantsearch.js

Ah sorry, that's the issue you cannot use for now instantsearch-googlemaps with the preact build. You need to use the React build.

@vvo vvo added the bug label Sep 5, 2016
@arambadk
Copy link
Author

arambadk commented Sep 6, 2016

Thanks, things seem to work with react

@vvo
Copy link
Contributor

vvo commented Sep 6, 2016

Nice!

@vvo vvo closed this as completed Sep 6, 2016
@vvo vvo reopened this Sep 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants