I hope the title is clear enough.In the docs of react native:
We recommend that you use the TypeScript compiler only for type checking.
For this code to work for example:
@Injectable()class Some { constructor(@Inject() private: SomeService);}
If you use the TypeScript compiler, you just have to enable the experimentalDecorators and emitDecoratorMetadata flags in tsconfig.json but if you use babel for transpilling you have to install plugins (extra dependencies) like babel-plugin-transform-typescript-metadata and @babel/plugin-proposal-decorators.
Can anyone explain the benefits of using babel ?
Here is the link for reference: https://reactnative.dev/docs/typescript#how-typescript-and-react-native-works.