usehooks
usehooks copied to clipboard
Add useContextAndReducer
The main benefit to using this hook is that it can allow developer to keep state consistent throughout an application, of course this is a context specific subject matter, I don't think that there'll ever be a 1 fits all solution. But I've found this pretty useful for keeping state consistent between a reducer & a context.