レンダリングファイルを.tsx拡張子に変更し、main.tsxでDOMをレンダリングします。
内部では、JSX構文を使用しています。
Reactの依存関係をインストールしました。ロジックをApp.tsxに移動し、main.tsxはレンダリングに焦点を当てます。
move rendering files to .tsx extension. and have main.tsx render the DOM.
Inside, we are using JSX syntax.
Installed react dependencies. Move the logic to App.tsx and main.ts focus on the rendering.