You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React Native use typescript by default starting from v0.71, but I'm not familiar with typescript so I keep use javascript instead. even tough typescript not blocking me to use javascript but I'm concern about typescript related packages that already packed.
I've tried to search how to initialize React Native with javascript but I'm not found it yet, also there's so many post about how to use javascript instead of typescript in React Native
So Is it possible to support javascript template while keeping typescript as default when initialize React Native?
Possible Implementations
I think about add --use-js or --javascript argument when initialize React Native, something like this:
# init React Native with typescript
npx react-native@latest init MyApp
# init React Native with javascript
npx react-native@latest init MyApp --use-js # or --javascript
Related Issues
Several links that can be used for consideration to support javascript :
Describe the Feature
React Native use
typescript
by default starting from v0.71, but I'm not familiar withtypescript
so I keep usejavascript
instead. even toughtypescript
not blocking me to usejavascript
but I'm concern abouttypescript
related packages that already packed.Last time, I've tried to remove any
typescript
related packages base on Adding TypeScript to an Existing Project documentation but things get complicated to setup babel and jest that already use typescript.I've tried to search how to initialize React Native with javascript but I'm not found it yet, also there's so many post about how to use
javascript
instead oftypescript
in React NativeSo Is it possible to support javascript template while keeping
typescript
as default when initialize React Native?Possible Implementations
I think about add
--use-js
or--javascript
argument when initialize React Native, something like this:Related Issues
Several links that can be used for consideration to support javascript :
The text was updated successfully, but these errors were encountered: