Should i call apis in separate component ReactJS code example Example: command to start api on react npm run api