Development Study/Frontend

[TypeScript] Differences between .ts & .tsx

  • -
728x90

When we code with a typescript, we can see 2 extensions of it.


CASE .tsx

In this case, it means for files that contain JSX

 

TSX file is a TypeScript(.ts) file witten using JSX syntax.

It contains code that is most likely part of a single-page or mobile application

We usually open this in source code editors like VSCode


CASE .ts

In this case, it means for pure TypeScript files

.ts files have differences with .js

If you want to know about it,

 

Click Here to find out.

 

[배경지식] JavaScript? TypeScript? 이 둘의 차이는 무엇일까?

공통 객체 지향 프로그래밍 패러다임 = 데이터 추상화에 중심 - 객체와 클래스라는 두 주요 개념을 기반으로 한다 객체 기반의 스크립트 언어이다 웹의 동작을 구현하는 데에 쓰이는 언어이다

time-map-installer.tistory.com


End

 

 

References

더보기
728x90
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.