Thoughts about wrapping js in React for Panel Plugins?

Hi All,

So I maintain a handful of community panel plugins and about half of them were originally Angular plugins so when Grafana switched to React, I pulled out the vanillaJS and wrapped it in a React canvas so that it would continue to work in newer versions of Grafana.

I know that probably Grafana would prefer everything to just be written in Typescript React, but I guess I’m wondering what are the downsides to just leaving it in plain JS. It’s much easier to write/understand what’s going on imo. I’m not trying to start a vanillaJS vs React war here, just asking about this specific case. Do the plugin reviewers care/have a preference?