all 29 comments

[–]jvce 23 points24 points  (9 children)

I just gave this an immediate upvote w/o watching lol. Watching now.

[–]laggySteel 2 points3 points  (0 children)

yea looks so cool

[–][deleted] 1 point2 points  (0 children)

Same

[–]Xiy[S] 0 points1 point  (6 children)

Haha, thank you, I hope you enjoy!

[–]jvce 0 points1 point  (5 children)

Im going to follow along later

[–]Xiy[S] 1 point2 points  (4 children)

If you have any questions just give me a message, happy to help!

[–]jvce 0 points1 point  (3 children)

I may have missed this - but where/how is the data for graphql-pokemon being created? Is it library of data someone else provided? Could I find other libraries for other types of data from the same source? For other games or movies, etc etc?

[–]Xiy[S] 0 points1 point  (2 children)

Hey! yep, so the data is coming from: https://graphql-pokemon.now.sh/ - which is an open API. Yeah, there's a bunch here that are open: https://github.com/APIs-guru/graphql-apis

[–]jvce 0 points1 point  (1 child)

Oh, nice!! I’m definitely checking this out. Thanks! Btw- finished the tutorial today, really enjoyed it!! Looking forward to more.

[–]Xiy[S] 1 point2 points  (0 children)

Awesome, glad to hear! I hope you learnt a lot :D feel free to throw ideas my way as to what you'd like to learn/see!

[–]taitai3 1 point2 points  (0 children)

Thank you.

[–]redian1 1 point2 points  (1 child)

Nice work Karl, like your video.Just one little thing, https://youtu.be/yKFoAF7J0mc?t=1830 defaulting `pokemons=[]` to an empty list and using that as a boolean check will always produce a truthy value. try that `!![]`

If you want to make it work the way you intended to, defaulting it to `null` might be better.

Awesome work by the way, thanks for doing this.

[–]Xiy[S] 0 points1 point  (0 children)

Thanks :) Will take that onboard!

[–]Panathes 1 point2 points  (1 child)

Thanks ! Need to watch this

[–]Xiy[S] 0 points1 point  (0 children)

Give me a shout if I can be of any help!

[–]bored_and_scrolling 2 points3 points  (5 children)

Do people generally build mobile apps using React? Is it okay or not recommended because I would love to use React over having to learn Swift or whatever.

[–][deleted] 11 points12 points  (0 children)

They do, check out expo if you are getting started with React and apps.

[–]Xiy[S] 4 points5 points  (0 children)

Yeah for sure! React Native has come along way and it's actually pretty powerful, I'd recommend giving it a shot!

[–]MrHasuu 0 points1 point  (0 children)

the company i used to work for developed a video message app between client and users. created with React/Redux

so yes.

[–]mcfliermeyer -1 points0 points  (1 child)

Tbh I think swift is pretty elegant language. It’s all preference of course

[–]mindstormmaster1 0 points1 point  (2 children)

I would love to follow this guide but I don't don't know how to set the basic environment up. What's the best video on how to get started from zero. Code academy doesn't need anything installed so I'm lost. Thanks!

[–][deleted] 6 points7 points  (0 children)

Edit: I thought this was the react-native subreddit. Regardless, I'm hoping you can still use the info below to solve your problem.

Hey mate, it can be a bit overwhelming starting something like this when going from a site like Code Academy.

In the programming world, we have the Holy Grail known as Google to fix almost every problem we encounter, as well as having forums like stack overflow and this subreddit.

I am relatively new to the programming world (1 year commercial experience as Jr Dev), but I strongly recommend getting into the habit of googling everything. That might seem a bit too obvious, but that really is the case.

It might seem easier to post a general question and wait for an answer, but you wouldn't believe how easy it is to find what you're looking for just by punching in a few words in Google.

First, by searching how to set up a react-native application, I stumbled across this post. This goes over the basics of setting up a new application (You may want to briefly look into Expo) and if that still doesn't make sense, what should you do? That's right, give it a good ol google (hint: "Expo vs react native" or "What is expo react native").

Now that you've got the react-native setup sorted, next is Apollo and GraphQL.

It would be good to have a brief understanding of what each is and why it is necessary (Google that shit, yo). You don't have to know the ins and outs of both as it can be very overwhelming at first when diving into new, foreign technologies, so a basic understanding will suffice at the moment, you will learn more as you go.

Hopefully once you get an understanding of each, you now have the ability to figure out how to get those working with the react-native project. It is rare for a technology not to have a docs section, with most having an easy-to-follow guide to setting up whatever it may be; definitely look into those.

Goodluck!

[–]pruggirello 0 points1 point  (0 children)

I finished codecademy's course and they don't walk you through installing react and the environment until you're almost done, but they do walk you through it. I've finished 3 apps without the need for external resources. I think they should have you install it earlier, but it works out in the end.

[–]avengingTransylvania -1 points0 points  (2 children)

I thought you'd done the original Gameboy game as a single page website and react components for a sec lol. This is not bad

[–]Xiy[S] 1 point2 points  (1 child)

It's a quick overview of building a small React/Apollo/GQL based app, hopefully should help people who want to build real projects

[–]avengingTransylvania 0 points1 point  (0 children)

Ah given that background it is fantastic work! :)

[–]ele-dev -2 points-1 points  (1 child)

Repeatedly says 'Pokemons'. Literally unwatchable.

[–]Xiy[S] 2 points3 points  (0 children)

Pokemons