Skip to content

Instantly share code, notes, and snippets.

@cellularmitosis
Last active January 3, 2022 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cellularmitosis/fea90a823639c1380b8c4460e71f030a to your computer and use it in GitHub Desktop.
Save cellularmitosis/fea90a823639c1380b8c4460e71f030a to your computer and use it in GitHub Desktop.
# 100 days of React Native / Typescript

100 days of React Native / Typescript

Day X: Install tooling

  • Install homebrew: bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • Install node.js: brew install node
  • Install Xcode: https://xcodereleases.com/

Day X: Create a new project

npx react-native init MyApp --template react-native-template-typescript
cd ios
pod install
cd ..

Then:

npx start

and:

npx run ios

Day X: JSX

See:

Day X: Functional Components

See:

Day X: props

See:

Day X: state

See:

Day X: tsc

tsc is the TypeScript compiler.

Run it to check for errors in your code:

npx tsc --noEmit

Day X: Exports

See https://medium.com/dailyjs/javascript-module-cheatsheet-7bd474f1d829

Day X: Snack

See:

Day X: Hooks

See:

Day X: Fragments

See:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment