Using Typescript and React on Visual Studio 2019, I compile correctly the say "ClientApp\Components\a.js" file when saving the corresponding "ClientApp\Components\a.tsx" file, but when I launch the Visual Studio debugger, the javascript source is taken from the folder wwwRoot/Dist/Main.js, and not from my a.js file. So it seems that the Main.js file is a concatenation of all the *.tsx files and that my a.js file is ignored.
On the Project Properties, I check "Compile on Save" (which is what I want).