Files
react/packages/react-devtools-shared/src/__tests__
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
..
2019-08-27 10:31:36 -07:00
2019-08-27 10:54:01 -07:00
2019-08-27 10:54:01 -07:00
2019-08-27 10:54:01 -07:00
2019-08-13 17:58:03 -07:00
2019-08-27 10:54:01 -07:00
2019-08-27 10:54:01 -07:00
2019-08-27 10:54:01 -07:00
2019-08-13 17:58:03 -07:00
2019-08-27 10:54:01 -07:00
2019-08-27 10:54:01 -07:00