frontend
frontend copied to clipboard
Refactor components to use React Redux hooks to access store
Refactor components to use React hooks to access Redux store
Code quality suggestion.
Rationale
Refactor existing function components to allow them to subscribe to the Redux store and dispatch actions using React Redux hook APIs - this avoids boilerplate associated with the connect()
container HOCs.
Reference for implementation: Redux hooks documentation
Last updated 17 Jun 2020, 10:15PM