React App

This is avialable on version Alpha 1.1

Create you react app

  1. First you need to Install Termux.

  2. Open termux and run pkg update and pkg upgrade.

  3. Type pkg install nodejs and hit enter>

  4. After installing go to your SCode Studio and Create new project.

  5. After Creating a new, Empty project or React project click the terminal icon on the right comer of the tab.

It will redirect you to Termux.

Here's how 1. type termux-setup-storage and hit enter. 2. a dialog will pop up and click allow storage permission.

6. Type cd and hold the text on the termux and click paste.

It will look like something like this and hit enter.

7. type npm i -g create-react-app and hit enter.

You will only need to run npm I -g create-react-app once. When it is successful, you will no longer require it in your future react project because it has already been installed.

8. after installation is done type npx create-react-app your-app-name and hit enter.

you will see like this

9. when it's done type cd your-app-name and hit enter.

10. type rm -rf node_modules and hit enter.

11 type npm install and hit enter.

11. type npm run start to see your react-app running on your web browser.

12. after the loading open the SCode Studio start editing your codes. Have fun.

For more information about react just visit this.

Last updated