title: Auto expandable rows and subrows react table using hooks
body: <p>Here I have code of react table using hooks, and i have struggled on task where I need to set all rows and subrows expanded by default when i open the page, I have tried several solutions, but all of them didn't work.</p>
  
  <p>Link to the code : <a href="https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/expanding" rel="nofollow noreferrer">https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/expanding</a></p>