-
-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compose box: Handle every message and topic update directly
This establishes a clear one-directional flow of the data, from secondary prop/state updates to the component via a new function `setInputs`. The primary props of `message` and `topic` are used to track the current value, but we never update the current input values from them.
- Loading branch information
1 parent
12dfdfe
commit 7fec789
Showing
1 changed file
with
33 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters