Skip to content

Commit a015721

Browse files
committed
update content closes #10
1 parent 1dfe767 commit a015721

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+38
-6792
lines changed

challenges/react-native-data-management/01.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
## What you will learn
44

55
- Fetch data over the network from the Star Wars API
6-
- display status and datas with `useQuery`
6+
- Display status and datas with `useQuery`
7+
- Use an advanced React Pattern: [Context API](https://reactjs.org/docs/context.html)
78

89
## 👾 Before we start the exercise
910

challenges/react-native-data-management/02.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,14 @@
1818

1919
![Offline Example](https://raw.githubusercontent.com/reactgraphqlacademy/twitter-clone-native/master/src/exercice/05/offline-example.gif)
2020

21-
- [ ] Install the library with `yarn add react-native-offline`
21+
- [ ] Install the library
22+
23+
```console
24+
yarn add react-native-offline
25+
```
26+
27+
- [ ] Create a new file `AppLayout.tsx` and [paste this file](https://raw.githubusercontent.com/flexbox/react-native-workshop/main/hackathon/spacecraft/src/components/AppLayout.tsx).
2228

23-
- [ ] Create a new file `AppLayout.tsx` and [paste this file](https://raw.githubusercontent.com/flexbox/react-native-workshop/main/challenges/react-native-data-management/spacecraft/src/components/AppLayout.tsx).
2429
- [ ] Update `App.tsx` with
2530

2631
```javascript

challenges/react-native-foundation/01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# React Native Foundations
1+
# React Native Foundation
22

33
## You are on a mission
44

challenges/react-native-foundation/02.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# React Native Foundations
1+
# React Native Foundation
22

33
## What you will learn
44

challenges/react-native-foundation/03.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# React Native Foundations
1+
# React Native Foundation
22

33
## What you will learn
44

@@ -13,8 +13,7 @@
1313
## 👨‍🚀 Exercise 3
1414

1515
- [ ] Rename `App.tsx` to `TermsScreen.tsx`.
16-
- [ ] Create a new file `App.tsx`
17-
- [ ] Create a new file `App.tsx` and paste the content [from this TermsScreen](https://raw.githubusercontent.com/flexbox/react-native-workshop/main/challenges/react-native-foundation/spacecraft/FeedScreen.tsx)
16+
- [ ] Create a new file `App.tsx` and paste the content [from this TermsScreen](https://raw.githubusercontent.com/flexbox/react-native-workshop/main/challenges/react-native-foundation/spacecraft/exercice/FeedScreen.tsx)
1817

1918
- [ ] Run from your terminal to download dummy data on your computer.
2019

@@ -24,7 +23,7 @@ curl https://swapi.dev/api/starships/ > data.ts
2423

2524
---
2625

27-
⚠️ For Windows users [you can copy/paste this file](https://raw.githubusercontent.com/flexbox/react-native-workshop/main/challenges/react-native-foundation/spacecraft/data.ts).
26+
⚠️ For Windows users [you can copy/paste this file](https://raw.githubusercontent.com/flexbox/react-native-workshop/main/hackathon/spacecraft/api/data.ts).
2827

2928
- [ ] Create an exported variable on `data.ts`
3029

challenges/react-native-foundation/spacecraft/.expo-shared/assets.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

challenges/react-native-foundation/spacecraft/.gitignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

challenges/react-native-foundation/spacecraft/App.tsx

Lines changed: 0 additions & 79 deletions
This file was deleted.

challenges/react-native-foundation/spacecraft/app.json

Lines changed: 0 additions & 32 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

challenges/react-native-foundation/spacecraft/babel.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

challenges/react-native-foundation/spacecraft/final/TermsScreen.tsx

Whitespace-only changes.

challenges/react-native-foundation/spacecraft/package.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

challenges/react-native-foundation/spacecraft/tsconfig.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)