If you’re read any of my previous posts, you know that I am a big fan of using hooks when working with React and Redux. They make building out applications easier and increase functionality with a few lines of code. Recently I discovered the use of two hooks: useSelector and useDispatch, ad toady I’m going to break down how they work.

Both these hooks are used with React and Redux. Redux is a library that is used to manage the state of the application. …

Jas Spencer

Software Engineer in NYC with expertise in Ruby on Rails, JavaScript, and React

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store