Passed the "selectedTranscript" to the viz so that we can conditionally render the classes based on if there is a selected transcript or not if not select MANE.
It seems that 'transcriptSelected' is emitted up the tree transcriptsMenu->transcriptCart->geneHome where it is used to then update the state of other components. Something about this causes the geneViz to re-render and call that 'transcriptClass' function that we looked at.
Passing the selectedTranscript an additional level down to the geneViz & adding some conditional logic in that function that uses the selectedTranscript if it is present seems to get this working like we would expect.
Passed the "selectedTranscript" to the viz so that we can conditionally render the classes based on if there is a selected transcript or not if not select MANE.
It seems that 'transcriptSelected' is emitted up the tree
transcriptsMenu->transcriptCart->geneHome
where it is used to then update the state of other components. Something about this causes the geneViz to re-render and call that 'transcriptClass' function that we looked at.Passing the selectedTranscript an additional level down to the geneViz & adding some conditional logic in that function that uses the selectedTranscript if it is present seems to get this working like we would expect.