What is the difference between .ts and .tsx extensions. Both are used as extensions for typescript files in react. So where should we use them?
I am new to react and I am working on a project. I come across both ts and tsx extensions. I don't understand where should I use ts or tsx. Any help on this is much appreciated. Thank you