I'm worried about the integration of plasmic with react

The problem is basic, I’m sure it will help dozens of code amateurs.
The tutorial available is ok, but I face problems. It’s no surprise that react has problems, it looks like it was created by hundreds of interns hahaha
Let’s organize ourselves in stages:
1-Installation
Very easy, no problems
2-Initialization
src/plasmic-init.ts- Let’s imagine that I just created a project with npx create-react-app test basic files like app.css; app.js; app.test, etc. it seems that the “.ts” is a problem and needs to be installed because it is left as “.ts” when placing it in the App.js code
import { PLASMIC } from ‘./plasmic-init’;
You will be responded with an error message
Compiled with problems:
×
ERROR in ./src/App.js 8:0-41
Module not found: Error: Can’t resolve ‘./plasmic-init’ in 'G:\User
When I changed from “.ts” to “.js” the error disappeared and everything is white
3-Auto load all Plasmic pages
This got even more confusing, I want to create a platform with several pages and it APPEARS to be necessary to install npm install react-router-dom, it is not specified which file should contain this code, it seems that I need to change app.js and index.js, I am Layman, those codes are in another language to me.
I just want to connect my react with plasmic to create UI, it seems to be impossible to do this with high technology and great ease worthy of 2024. I’m stuck at step 3 and I can’t find information on the internet, I need help NOT SPECIFIC for me, but for every plasmic user.
I suggest a react installer (I only use react hahaha) where you create a new folder and leave it configured to work with plasmic because this salad of going to Microsoft Visual Code and Plasmic is a traumatic experience.

SOLVED!!
If you happened to research this problem and found this specific error, I can help you, because it took me 5 days of intense research.

You need to publish the project and create it in react connected to your github, inside github Click on the green “Code” button and copy the repository URL (HTTPS, SSH or GitHub CLI).

In your Visual Studio Code terminal, paste the code git clone https://github.com/YourUser/YourRepository.git

The file will come virgin, so it needs to be installed npm install and that’s it, everything is fine baby.

DO NOT TRUST THE TUTORIAL THEY PROVIDE, I REPEAT DO NOT TRUST THEIR TUTORIAL, THEY DON’T CARE IF THE TUTORIAL IS RIGHT OR NOT