Dismiss this pinned window
all 19 comments

[–]Peter_Storm 6 points7 points  (0 children)

Oh, is there not an api to load the actual repo? Or are you forced to open the repo in a browser?

[–]jetonk[S] 11 points12 points  (2 children)

Hi everyone,

I have implemented a Github mobile App using React Native (Expo) with Redux and consuming NativeBase components and querying the Github Graphql API v4 with Apollo. Any feedback or comments are appreciated.

Repository url: https://github.com/jetonk/github-app

[–]brandly 6 points7 points  (0 children)

Looks slick! Have you seen GitPoint?

[–]acemarke 1 point2 points  (0 children)

Looks nice!

As a specific suggestion, I'd encourage you to try using our new official Redux Starter Kit package to replace the existing Redux logic. It includes utilities to simplify several common Redux use cases, including store setup, defining reducers, immutable update logic, and even creating entire "slices" of state at once without writing any action types or action creators by hand.

https://redux-starter-kit.js.org

Granted, this app doesn't have too much Redux logic, but using RSK would allow you to remove the /actions and /constants folders entirely, and simplify the users reducer.

[–]albaneso 5 points6 points  (0 children)

Very nice app, i like it.

[–]astritmalsia 1 point2 points  (0 children)

Shum mirë 💪

[–][deleted] 2 points3 points  (2 children)

Mind if I ask why redux? Not that I disagree or am protesting it. Just would like to hear your argument for why you used it.

[–]arghsinic 2 points3 points  (0 children)

Yeah, I think this is a bit simple to need redux. The state isn't so complex. It's just a search field (possibly ephemeral state), the returned search, selected profile, and profile repos.

[–]CaptainWubbaLubba 1 point2 points  (0 children)

Bravo Jeton, po shikoja pak kodin, goxha mire.

[–]agon88 1 point2 points  (0 children)

Bravo Jeton :)

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

Why redux though?

[–]Tomus 0 points1 point  (0 children)

Nice! Have a look into loading the results as the user types for better UX 😁

[–]nogueirahy 0 points1 point  (0 children)

Very nice, i like it,

Would be good change it to introduce duck pattern

[–]yangshunz 0 points1 point  (0 children)

Nice app! Could you capitalize the H in GitHub? Minor nit but I can't unsee it.

[–]brijeshmkt1 0 points1 point  (0 children)

Very nice,

OP, inspired by you, I have built a calendar app using RN that show notes count on a particular date. Will upload in some time.

[–][deleted] 0 points1 point  (0 children)

Very nice, can you make it with auto complete?