Week 16 - React Native App - Jessica Sandler#300
Week 16 - React Native App - Jessica Sandler#300jessand77 wants to merge 7 commits intoTechnigo:masterfrom
Conversation
| <NavigationContainer> | ||
| <Tab.Navigator | ||
| screenOptions={({ route }) => ({ | ||
| tabBarIcon: ({ focused, color, size }) => { | ||
| if (route.name === 'Home') { |
There was a problem hiding this comment.
I really like your tab navigation with the tab function in the bottom.
| const DOG_URL = 'https://dog.ceo/api/breed/samoyed/images/random' | ||
|
|
||
| const DogScreen = () => { |
There was a problem hiding this comment.
Great idea with two api.s, one game and the dog images.
I love the dog theme!
lisabergstrom
left a comment
There was a problem hiding this comment.
Great job Jessica!
You have reached the general requirements. The code is easy to read and you have structured it in a good way and I love the dog theme!
EmmaaBerg
left a comment
There was a problem hiding this comment.
Really good job with your app Jessica! You have reached the requirements and it looks good on my phone. Really liked how you combined navigation and fetch from API. And also a good job with implementing what we have learned from the previous weeks :D
| import StartScreen from './screens/StartScreen' | ||
| import DogScreen from './screens/DogScreen' | ||
| import GameScreen from './screens/GameScreen' |
There was a problem hiding this comment.
Really nice with different pages in your app! :D
| @@ -0,0 +1,8 @@ | |||
| export const Colors = { | |||
There was a problem hiding this comment.
Cool that you could store this in a separate file and then import it
| ) | ||
| } | ||
|
|
||
| const styles = StyleSheet.create({ |
| @@ -0,0 +1,78 @@ | |||
| import React from 'react' | |||
There was a problem hiding this comment.
Really nice that you implemented an old project as the game :D
| @@ -0,0 +1,28 @@ | |||
| import React from 'react' | |||
There was a problem hiding this comment.
Good with a loader so the user can see something when there is waiting time :D
| @@ -0,0 +1,33 @@ | |||
| import React from 'react' | |||
There was a problem hiding this comment.
Great that you created a separate component for the button
https://expo.dev/@jessand77/project-react-native-app?serviceType=classic&distribution=expo-go