title: How To Access Callback Like in setState from useState Hook
body: <p>Has anyone managed to create a sync callback for the update piece of the useState hook in react 16.8? I have been looking for one so that I can deal with synchronous actions with a 3rd party library and I can't seem to make one work for my needs. </p>
  
  <p>If anyone has any references to people that have successfully completed this please add them here.</p>
  
  <p>Cheers,</p>