npm install react-hooks code example Example: react hooks npm install npm install @apollo/react-hooks