@stucork was kind enough to go back and forth with me and we found the issue.
The plotly error only occurred when using a custom component and adding it to the dom.