How Can We Fetch Api Data Without Using Useeffect Hook