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