React-map-gl: v4.0 Goals

Created on 3 Aug 2018  路  10Comments  路  Source: visgl/react-map-gl

Core Components

  • [x] Remove Immutable from dependency
  • [x] Remove implementation of style diffing: use Mapbox's own style diffing feature
  • [x] Update or remove the usage of the legacy React context API
  • [x] Support relative width and height props

Interaction

  • [x] Offer flags for pan/zoom/rotate in callbacks
  • [x] Offer APIs to access more pointer events

Build System

  • [x] Upgrade babel to v7
  • [x] Remove manual binding of class methods

Other

  • [ ] Improve testing

Most helpful comment

Relative 馃憦 width 馃憦 and 馃憦 height 馃憦 馃帀 馃巿

All 10 comments

I would start using babel-runtime. Currently helpers are duplicated in every module.

@Pessimistress is there any busywork-type work that I can do to help move towards this release?

Relative 馃憦 width 馃憦 and 馃憦 height 馃憦 馃帀 馃巿

4.0.0-beta.1 is published

Hi, Does v4 support react below v16? I tried using v4.0.0-beta.3 and got _react.createContext error. My react version is 15.6.1

@archansel No. One of the goals of v4 is to move towards the new React context API (released in v16.3), which is incompatible with the old API.

4.0.0 is published!

@Pessimistress Where is tag and changelog?

@archansel Some of the v15 API that v3 was using will be removed in the next major release of React. Although unfortunate, when we have to choose, we'd like the latest react-map-gl to support 17 rather than 15.

@TrySound 4.0-release branch

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sudoStatus200 picture sudoStatus200  路  5Comments

joseomar10 picture joseomar10  路  5Comments

Majaspic picture Majaspic  路  4Comments

sicksid picture sicksid  路  3Comments

iamvdo picture iamvdo  路  5Comments