While troubleshooting another issue, I decided to delve into Typescript's documentation on JSX usage.
I discovered that some options involve converting JSX while others do not.
I am puzzled as to why one would need to preserve JSX in transpiled files. Although it is possible to use babel for post-processing to handle JSX, the question remains: why?
Could there be transformations specific to JSX that are unsupported by Typescript? Is the retention of JSX necessary for React Native, considering the existence of a dedicated react-native
option that mirrors react
, but with different file extensions for generated files?