The question comes to my mind when I saw React released v15.5 recently.
In Devtools we have several vendor libraries in `client/shared` folder
(mainly react related libs), which is not modified frequently. But as we
know, web frontend libraries are evolving quickly.
Currently m-c & devtools-core use React 15.3.2(update at Sep. 2016), and
here are the major changes for React:
15.4 (November 16, 2016)
https://facebook.github.io/react/blog/2016/11/16/react-v15.4.0.html
Profiling Components with Chrome/Edge Timeline (with standard user timing
API
https://developer.mozilla.org/en-US/docs/Web/API/User_Timing_API)
15.5.0 (April 7, 2017)
https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html
Some breaking change like React.PropTypes, React.createClass are moved to
the separate module.
It means after just half a year, we are aging by 2 minor(?) releases of
React, and we might miss more in the related libraries. The API
incompatibility might confuse potential contributors if we are too far from
the current react release version.
So, should we have a plan to deal with our aging vendor libraries?
For example:
* List and check vendor libraries changelog every two firefox releases (3
month) before the branch day.
* Make the decision if we need update them or not.
* Update the vendor libraries/m-c/devtools-html at nightly after branch day
How do you think?
--
Fred