How can I create a widget using React – Reactjs
I am trying to create a widget which can be plugged to any website, just like some chat widget. I am trying to below but getting error: const widgetDivs = document.querySelectorAll('.proc_widget'); widgetDivs.forEach((div) => { ReactDOM.render( <React.StrictMode> <App symbol={div.dataset.symbol} /> </React.StrictMode>,…