orion-ui icon indicating copy to clipboard operation
orion-ui copied to clipboard

Look through components for event registration and extract to wrapping React component

Open camwest opened this issue 8 years ago • 0 comments

As a developer
I want to use the React Developer tools to see the state and props of my components
So that I can understand why it's in the state that it is

Currently we listen for events in some adapters (example: this.hig.onProfileImageClick(this.openProfile);

We should remove these event listeners because they are opaque to React Dev tools. Instead let's use a wrapper component which listens to the event and sets a property on the adapter.

camwest avatar Jul 18 '17 17:07 camwest