Closed Bug 1358103 Opened 8 years ago Closed 8 years ago

Remove createFactory call on Reps

Categories

(DevTools :: Shared Components, enhancement, P1)

enhancement

Tracking

(firefox55 fixed)

RESOLVED FIXED
Firefox 55
Tracking Status
firefox55 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

Attachments

(1 file)

The new Reps bundle from Bug 1357341 is all about functions now, so we should remove all unnecessary `createFactory` calls we used to do when creating Reps.
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Depends on: 1357341
Priority: -- → P1
Comment on attachment 8860299 [details] Bug 1358103 - Remove createFactory call on Reps; https://reviewboard.mozilla.org/r/132324/#review135210 Thanks for doing the follow up! ::: devtools/client/dom/content/components/dom-tree.js:16 (Diff revision 1) > > const TreeView = React.createFactory(require("devtools/client/shared/components/tree/tree-view")); > > // Reps > const { REPS, MODE } = require("devtools/client/shared/components/reps/reps"); > -const Rep = React.createFactory(REPS.Rep); > +const Rep = REPS.Rep; nit: const { Rep } = REPS; (also applies to the other files here)
Attachment #8860299 - Flags: review?(jdescottes) → review+
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0972898afcd2 Remove createFactory call on Reps; r=jdescottes
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: