зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1392998 - remove irrelevant documentation files for react/redux tips;r=sole
MozReview-Commit-ID: 9rOoEuHoTqM --HG-- extra : rebase_source : 24fd7b99c2999ef830b231f5d15a140a738d7b06
This commit is contained in:
Родитель
aa1e9fe0ac
Коммит
5d5ccaad39
|
@ -30,10 +30,8 @@
|
|||
* [Panel SVGs](frontend/svgs.md)
|
||||
* [React](frontend/react.md)
|
||||
* [Guidelines](frontend/react-guidelines.md)
|
||||
* [Tips](frontend/react-tips.md)
|
||||
* [Redux](frontend/redux.md)
|
||||
* [Guidelines](frontend/redux-guidelines.md)
|
||||
* [Tips](frontend/redux-tips.md)
|
||||
* [Telemetry](frontend/telemetry.md)
|
||||
* [Backend](backend/backend.md)
|
||||
* [Remote Debugging Protocol](backend/protocol.md)
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
# React Tips
|
||||
|
||||
Learn various tips and tricks for working with our React code.
|
||||
|
||||
## Hot Reloading
|
||||
|
||||
If you followed [this
|
||||
rule](react-guidelines.md#export-the-component-directly-and-create-factory-on-import)
|
||||
about exporting components, and are using the BrowserLoader, you can
|
||||
hot reload any React component. Just turn on the pref
|
||||
`devtools.loader.hotreload`, re-open the devtools, and you should be
|
||||
able to save any React component and instantly see changes.
|
||||
|
||||
This does not reset the state of your app, so you can quickly se
|
||||
changes in the same context.
|
||||
|
||||
## Profiling
|
||||
|
||||
We need information here about how to use React.addons.Perf to profile the app.
|
|
@ -1,5 +0,0 @@
|
|||
|
||||
Need to document:
|
||||
|
||||
* How to attach various redux loggers
|
||||
* How to hot reload redux code
|
Загрузка…
Ссылка в новой задаче