I have used useDisptach and useStore hooks to access the dispatch and state. But it doesn\'t seem to work unless i use connect. Is there a way to use connect using hooks? So