react-hook-form @5 npm code example Example 1: npm hook form npm install react-hook-form Example 2: how to install react hook form npm install react-hook-form