mapbox / mapbox/react-geocoder

Please Upgrade React dependency 15.x

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
136
Forks
61
PR merge metrics
No merged PRs in 30d

Description

Repo has dependency on react 0.13.x. Seems as though there is a breaking change preventing me from using the library with React 15.3.2.

Error:
```
ReactClass.js:842 Uncaught TypeError: Cannot read property '__reactAutoBindMap' of undefined
at Constructor (ReactClass.js:842)
at ReactCompositeComponent.js:305
at measureLifeCyclePerf (ReactCompositeComponent.js:74)
at ReactCompositeComponentWrapper._constructComponentWithoutOwner (ReactCompositeComponent.js:304)
at ReactCompositeComponentWrapper._constructComponent (ReactCompositeComponent.js:279)
at ReactCompositeComponentWrapper.mountComponent (ReactCompositeComponent.js:187)
at Object.mountComponent (ReactReconciler.js:47)
at ReactDOMComponent.mountChildren (ReactMultiChild.js:240)
at ReactDOMComponent._createInitialChildren (ReactDOMComponent.js:699)
at ReactDOMComponent.mountComponent (ReactDOMComponent.js:524)
```

Contributor guide

Open the contributing guide

Research direction

Start by locating the React dependency declaration and reproducing the reported failure with React 15.3.2. Review the compatibility impact of the upgrade and verify that the reported __reactAutoBindMap error no longer occurs when using the geocoder component.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.