Open steven971998 opened 2 years ago
I am getting same error did u find any solutions?
No bro. Sad.
i got a solution just increment the number of pages int the api URL also and paste the , setPage(page+1) above the url . Actually the page is rendering before turning to page +1.
i got a solution just increment the number of pages int the api URL also and paste the , setPage(page+1) above the url . Actually the page is rendering before turning to page +1.
Did it work? can you just screenshot your code and the changes you did to make it work please? i am still not getting it. its not working in mine.
just take it from harry repo only , mine is same
just take it from harry repo only , mine is same
His code is not working in mine. So I wanted to see your code to know what changes you have made to solve this error.
mine is as exact as his.....maybe just let ur be in class based only dont convert to props...........mine is props total similar to his
hello sir . sir i cloned your newsmonkey repo and tried to launch it with react ..... i dont know how this error , can some one please tell me how to solve this .... i am new in react
I got similar error but resolved after updating API key in App.js we need to make sure to use our API key instead of process.env.REACT_APP_NEWS_API We are getting error because our article array is remains empty because NewsAPI is unable to fetch data.
may be your limit is exhausted . Either wait for it to reset or use a different one. Hope it helps
I even changed my API key still its not working. someone please help fast.