react/packages/react-devtools-shared/src/devtools/views
Brian Vaughn fa1a326227
Update useEditableValue hook to sync external value changes (#16878)
* Update useEditableValue to mirror value cahnges

Previously, the hook initialized local state (in useState) to mirror the prop/state value. Updates to the value were ignored though. (Once the state was initialized, it was never updated.) The new hook updates the local/editable state to mirror the external value unless there are already pending, local edits being made.

* Optimistic CHANGELOG update

* Added additional useEditableValue() unit test cases
2019-09-25 10:46:27 -07:00
..
Components Update useEditableValue hook to sync external value changes (#16878) 2019-09-25 10:46:27 -07:00
Profiler [DevTools] [Profiler]: Save profile now working in Firefox (#16612) 2019-09-03 08:35:12 -07:00
Settings Added FB copyright header 2019-08-27 10:54:01 -07:00
Button.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
Button.js Added FB copyright header 2019-08-27 10:54:01 -07:00
ButtonIcon.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
ButtonIcon.js Added FB copyright header 2019-08-27 10:54:01 -07:00
DevTools.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
DevTools.js [DevTools] Remove Welcome dialog (#16834) 2019-09-19 08:41:18 -07:00
ErrorBoundary.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
ErrorBoundary.js Added FB copyright header 2019-08-27 10:54:01 -07:00
Icon.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
Icon.js Added FB copyright header 2019-08-27 10:54:01 -07:00
ModalDialog.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
ModalDialog.js Added FB copyright header 2019-08-27 10:54:01 -07:00
ReactLogo.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
ReactLogo.js Added FB copyright header 2019-08-27 10:54:01 -07:00
TabBar.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
TabBar.js Added FB copyright header 2019-08-27 10:54:01 -07:00
Toggle.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
Toggle.js Added FB copyright header 2019-08-27 10:54:01 -07:00
Tooltip.css Fixed font family issue in FF. (#16701) 2019-09-09 16:21:04 -07:00
WarnIfLegacyBackendDetected.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
WarnIfLegacyBackendDetected.js Added FB copyright header 2019-08-27 10:54:01 -07:00
context.js Added FB copyright header 2019-08-27 10:54:01 -07:00
hooks.js Update useEditableValue hook to sync external value changes (#16878) 2019-09-25 10:46:27 -07:00
portaledContent.js Added FB copyright header 2019-08-27 10:54:01 -07:00
root.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
utils.js [DevTools] [Profiler]: Save profile now working in Firefox (#16612) 2019-09-03 08:35:12 -07:00