Closed Bug 1415554 Opened 8 years ago Closed 8 years ago

Update Inspector to use prop-types and react-dom-factories

Categories

(DevTools :: Inspector, enhancement, P2)

enhancement

Tracking

(firefox59 fixed)

RESOLVED FIXED
Firefox 59
Tracking Status
firefox59 --- fixed

People

(Reporter: miker, Assigned: miker)

References

Details

Attachments

(1 file)

There are a number of reasons for this: 1. We need to have the modules available for code from devtools-core, which uses them. 2. It begins the process of getting rid of React deprecation warnings. 3. It prepares us to upgrade to React 16. Versioning info from devtools-core github repo: "prop-types": "^15.6.0" "react-dom-factories": "^1.0.2"
Attachment #8926502 - Flags: review?(nchevobbe) → review?(gl)
Comment on attachment 8926502 [details] Bug 1415554 - Inspector to use prop-types and react-dom-factories https://reviewboard.mozilla.org/r/197758/#review203524
Attachment #8926502 - Flags: review?(gl) → review+
Pushed by gabriel.luong@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/39beeec35ecc Inspector to use prop-types and react-dom-factories r=gl
Comment on attachment 8926502 [details] Bug 1415554 - Inspector to use prop-types and react-dom-factories https://reviewboard.mozilla.org/r/197758/#review203562 ::: devtools/client/inspector/boxmodel/components/BoxModelProperties.js (Diff revision 1) > - PureComponent, > -} = require("devtools/client/shared/vendor/react"); > const { LocalizationHelper } = require("devtools/shared/l10n"); > > const ComputedProperty = createFactory(require("./ComputedProperty")); > - Avoid removing the new line here ::: devtools/client/inspector/fonts/components/FontList.js (Diff revision 1) > - PropTypes, > - PureComponent, > -} = require("devtools/client/shared/vendor/react"); > > const Font = createFactory(require("./Font")); > - Same as above
Comment on attachment 8926502 [details] Bug 1415554 - Inspector to use prop-types and react-dom-factories https://reviewboard.mozilla.org/r/197758/#review203910
Attachment #8926502 - Flags: review+
Attachment #8926502 - Flags: review?(nchevobbe)
Pushed by gabriel.luong@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/c256e7ec78df Inspector to use prop-types and react-dom-factories r=gl
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Flags: needinfo?(mratcliffe)
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: