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
getNewsfunction, should thisbe replaced with this?
Since you're just passing it along to the next
thencall, 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
fetchsection... It keeps giving meNetwork request failederror, 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...
Thank You Mohammed.. I will give it a try 👏🏽👏🏽
Sure thing, thanks for reading👍
What are you use of theme for this syntax in your Code Editor?
thepracticaldev.s3.amazonaws.com/i...
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:)
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:)
This seems awesome, are you planning to do more such tutorials that'd be awesome
Yes, I will definitely be making more of these:)
Can I search for specific articles in the api
Hey Mohammed, you might want to hide your api key?
Thanks, i fixed the issue:)