alternative to redux for react code example Example: how to install react redux yarn add redux react-redux --save