The easiest way to start is with Create React App. Be sure you have the latest version of Node.js installed. If you are on Windows, be sure that Node is installed in WSL. If you seen an error about UNC paths, then it is running the Windows version.
Then run the following command in the WSL terminal:
npx create-react-app my-application --template typescript
Here we used the TypeScript template, which is recommended for Jinaga.
--template typescript option.
The above command will create a folder called
my-application in the current directory.
That folder will contain a brand new React application. Change to that new folder and open VS Code:
Next open the terminal window in VS Code and from there run the app with
The easiest way to start a React Native app is with Expo. If you are on Windows, be sure to run this command in PowerShell, not in WSL.
npx create-expo-app my-application -t expo-template-blank-typescript
Then change to that folder and open VS Code:
In the original PowerShell window, run the app with
It's best to use the PowerShell window for this, because it will show a QR code that you will need to scan with your phone.