Setup React in the plugin editor

I am looking for advice on how to setup react+reactDOM in the plugin editor. I uploaded a separate .js-file with the component, but unsure of how to correctly tell the plugin to render the component to the DOM. Theoretically, it should work with the CDN links but where should they be placed?

Any tip or link to how to set this up correctly would be helpful. Thanks!

Have you seen Copilot’s plugin making course? It’s a good start!

1 Like

I haven’t had any experience with react, but did you append your elements to the bubble plugin group?

Use this to put elements inside the plugin div. instance.canvas[0].appendChild(YourElementGoesHere);

Hi, is there any ways to develop bubble plugin by using React.js?

There is this https://twitter.com/yelkhayami/status/1385028472620429313?s=20

2 Likes