yahoo/react-i13n

Require `Promise` in runtime instead of npm dep on `promise` package?

ericf opened this issue · 3 comments

ericf commented

I'm curious if we could require that Promise be available in the runtime like we do for Fluxible so that way this package doesn't have to have an npm dependency on the promise package.

Promise is in all evergreen browsers and Safari now: http://caniuse.com/#search=promise so it would just be needed for older browsers and older versions of Node.js.

Sure agree with removing Promise from this pkg

👍

ericf commented

Okay, I'll open a PR for this.