Closed Bug 1497099 Opened Last year Closed Last year
[remote-dbg-next] Use common Prop
Types in React components
46 bytes, text/x-phabricator-request
|Details | Review|
Currently, we define PropTypes in React components respectively. Therefore, if the kind of datas that are sent from reducer has changed, all components that refer need to reflect. Also, a concern of consistency with reducer remains. To resolve this, manage PropTypes in one place, the each components refer there. e.g. https://searchfox.org/mozilla-central/source/devtools/client/inspector/fonts/types.js
Assignee: nobody → dakatsuka
Status: NEW → ASSIGNED
Priority: P2 → P1
Depends on D8693
Depends on D8694
As we discussed on slack, we will go forward step by step. Firstly, we define `runtime` object. Then if needed, address next one.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/32cff4bae820 Use common runtime PropTypes. r=jdescottes
You need to log in before you can comment on or make changes to this bug.