Sequence form "*Editor" components should dispatch an event rather than invoke a callback setInEditor
#1540
Labels
sequencing
Anything related to the sequencing domain
Currently the sequence editor's form components invoke a function that's passed in from the parent to affect some state on the parent. The convention that's easier to manage is to instead dispatch events up to the parent component. IMO, the only time that passing in a function is appropriate is if the parent needs to define some functionality for the child component to utilize within.
The text was updated successfully, but these errors were encountered: