3

I'm using Expo, but I prefer not to use TypeScript. I've tried reading the Expo documentation to convert tsx files to js, but I couldn't figure out how to do it. Can someone help me with the steps to make this conversion?

1

2 Answers 2

6

You should create a new react native project without the default template. By using the '-template blank' option. This will create a react native project with 'App.js' as the entry point, and no typescript.

E.g)run this command npx create-expo-app appname --template blank

Sign up to request clarification or add additional context in comments.

Comments

-1

Or you can use npx create-expo-app@latest appname --no-ts

1 Comment

that argument doesn't exist

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.