N.B. I will continue updating this repository until Tuesday evening, so please make sure you run
git pull
andpnpm install
on Wednesday, if you follow these instructions before then.
Before the workshop, please make sure you:
- Download and install the latest LTS release of node from https://nodejs.org/en/
- Install VSCode from https://code.visualstudio.com (you can use another editor if you prefer but this is the one I use)
- Clone this repository:
git clone https://github.com/ForbesLindesay/typescript-for-react-developers.git
- Open the repository's root directory in VSCode (or your editor of choice)
- Open a terminal in the repository's root directory (you can do this within VSCode using the "Terminal" -> "New Terminal" menu option, or use your preferred terminal app).
- In the terminal, run
corepack enable
to tell node.js to use corepack to select the right package manager. - Run
pnpm install
to install dependencies. - Run
pnpm prepared
. If you've done everything right, you should see a URL likehttp://localhost:5173
and opening that URL should show a web page with the text "Welcome to TypeScript for React Developers".
If you can run all these steps in advance, it will save a lot of time during the workshop. If you run into any issues, please let me know as soon as possible so I can help you get setup before we start the workshop.
I recommend you don't look through the exercises or answers in advance. Just come to the workshop ready to learn. I look forward to seeing you in Alicante.
P.S. I also recommend installing the React Developer Tools.