After updating Primereact to 8.3.0 document.getElementById() is returning null for div in primereact accordion created in return of jsx. I was able to access the div returned by the primereact accordion in previous version of primereact 3.4.0. React version is same in both cases that is 16.8.3
I would like to know how do I access the div returned from primereact accordion using document.getElementById() in componentDidMount.