Skip to content

Audit components: event callbacks should pass syntheticEvent, then customData object #273

Closed
@donnieberg

Description

@donnieberg

Suggestion from @tweettypography

Make all custom event callbacks have two properties handleEvent(customData, syntheticEvent). The first prop would be an object with whatever is being passed back from the app - updated values, etc - and the second is simply the original triggering event.

TO DOS

  • Change all components to this pattern
  • Update docs

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions