react-map-gl icon indicating copy to clipboard operation
react-map-gl copied to clipboard

Support React 0.14

Open vicapow opened this issue 11 years ago • 11 comments

Only React 0.13 is currently supported. This is blocked by the latest version of r-dom being published to npm. see: https://github.com/uber/r-dom/blob/master/package.json#L43

cc: @rtsao, @mlmorg

vicapow avatar Oct 11 '15 23:10 vicapow

r-dom 2.1.0 has been published

mlmorg avatar Oct 11 '15 23:10 mlmorg

That was fast. Thanks, @mlmorg!

vicapow avatar Oct 11 '15 23:10 vicapow

I saw a branch with support of react 0.14, can you merge it to master? I really want to use this package, but my app is already using react 0.14

thanks :)

AlejandroSilva avatar Nov 11 '15 03:11 AlejandroSilva

@AlejandroSilva It's my understanding that 0.14 is backwards compatible with 0.13. It just has several console warnings.

vicapow avatar Nov 11 '15 06:11 vicapow

yes it is, using a v0.14 in a project with v0.13 mostly result in a lot of warnings... But in my case, I have a already working project with v0.14, and trying to install react-map-gl result in a "unfulfill peer dependencys":

asilva@pc ~/w/mototracker> npm install  react-map-gl
...
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.0
npm ERR! peerinvalid Peer [email protected] wants react@^0.13.0

Maybe the 'peer dependency' problem is't not a problem with react-map-gl directly, and some npm trick can be made to make it work, but it will be nice to have the dependencies updated :)

AlejandroSilva avatar Nov 11 '15 15:11 AlejandroSilva

@AlejandroSilva You're welcome try the experimental 0.14 branch directly. It was recently updated by @gnavvy. Not sure when this lands in master but I'd expect within at least the next few weeks.

vicapow avatar Nov 11 '15 20:11 vicapow

@vicapow thanks a lot for the update, I happy will use it.

AlejandroSilva avatar Nov 11 '15 20:11 AlejandroSilva

any updates on the 0.14 branch?

yuvadm avatar Nov 29 '15 21:11 yuvadm

@yuvadm Hope to have this out this week but this shouldn't be blocking anyone so long as they use the 0.14 branch.

vicapow avatar Nov 30 '15 17:11 vicapow

@vicapow awesome, thanks!

yuvadm avatar Nov 30 '15 18:11 yuvadm

This has landed with 0.6. Let me know if there's any issues!

vicapow avatar Dec 02 '15 09:12 vicapow