I am trying to integrate react data grid with electron js and I am facing issues while using "useState". The console asks me to add error boundaries and adding that didn't help too. I searched for similar problems in stackoverflow and made sure that the react is upgraded to the latest version for using hooks and is same with react-dom. But even after following the above steps I cannot make this work.
I am trying to follow Advanced Filtering option from the react-data-grid documentation http://adazzle.github.io/react-data-grid/docs/examples/advanced-filtering
But the only difference is I am trying to use react-data-grid on electron js. Since I'm new to javascript, I'm not sure where I am going wrong.
Repository link: https://github.com/shreyamdg/ReactDataGrid/tree/error-boundaries
Screenshot of the error:
Any suggestions or help is appreciated.