Dynamically extend editors in PanelPlugin

Hi, I’m creating custom panel plugin for Plotly in React since the old one is depreciated and doesn’t have much functionalities.

I would like to be able to add multiple traces and have dynamically added editors for this.
How to add/delete editors in PanelPlugin on click from one of the editors?

I tried to develop custom editor with React PureComponent and set it on panel with setEditor method but it seems like this method is not working with Grafana v7.3.4, the element is not showing at all (you can replicate it with this code). Is there some option to build more customized editor with setPanelOptions and builder or with some other way?