Skip to content

Bump fbjs to 0.9.x #8898

@dmnd

Description

@dmnd

Probably lots of React apps depend on babel-runtime, perhaps directly or maybe indirectly. This can problematic, though, because it can cause such apps to depend on two versions of core-js:

  1. Your babel using React app -> babel-runtime ^6.22.0 -> core-js ^2.4.0
  2. React -> fbjs ^0.8.4 -> core-js ^1.0.0

These two versions aren't semver compatible, so it means a project that depends on babel-runtime and also React will have two copies of core-js in use. A concrete example of this is a React app that also depends on Relay. There are probably many other such examples, though. It'd be nice to collapse this dependency into a single version of core-js.

React could bump its dependency to the latest fbjs which is fbjs 0.9.0-alpha.1. That's alpha right now, but it's been alpha for 7 months and probably you guys can arrange a stable release if you want to.

See also:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions