Requirements for building the app:
A basic understanding of the JavaScript language.
Node.js, and react native.
Libraries used: moment, react-na...
For further actions, you may consider blocking this person and/or reporting abuse
Great post! I might have to go play with this news API sometime.
One possible improvement in code clarity: in your
getNews
function, should thisbe replaced with this?
Since you're just passing it along to the next
then
call, it seems redundant to me and could be removed to make the code a little more clear. If you do have a reason for doing it that way, I'd love to hear why!thanks, i might've forgot that i added the await keyword.
I'm stuck at the
fetch
section... It keeps giving meNetwork request failed
error, however I can manage to request using the same code in chrome console or using other api, any idea?what is your device?
Thanks for reply, I was developing with Genymotion, I tried a real device after you brought it up and it worked.. that's weird, thanks anyway :)
Hello,
I have found similar article related to react native, hope this will be helpful to create first reactapp : skptricks.com/2018/06/how-to-creat...
What are you use of theme for syntax in your Code EDITOR
Sorry for the late reply, I use Relaxed color theme, indent-rainbow and Rainbow Brackets plugins for VS Code:)
What are you use of theme for this syntax in your Code Editor?
thepracticaldev.s3.amazonaws.com/i...
Thank You Mohammed.. I will give it a try 👏🏽👏🏽
Sure thing, thanks for reading👍
Hello All, I have implemented CardView for react-native with elevation, that support android(All version) and iOS. github.com/Kishanjvaghela/react-na.... Check this out
Thx Mohammed, nice post!
happy you liked it:)
Hey Mohammed, you might want to hide your api key?
Thanks, i fixed the issue:)
Can I search for specific articles in the api
This seems awesome, are you planning to do more such tutorials that'd be awesome
Yes, I will definitely be making more of these:)