getReactableState function

Get the state of a reactable instance