-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How could I add typescript support ? #89
Comments
I would love to add support myself, just not sure how people use react native web with typescript support |
Please check out Ben Awad's tutorial |
@johannb75 thanks for the resource. I'm doing a bit of digging to figure out the current convention as the video tutorial a bit outdated and @types/react-native doesn't exactly fit the same types as RNW for some reference of what I'm looking at: If you are trying to set up a project today there's a nice template I read good opinions on: |
Have you found a way to implement it ? I can help you if you want |
I'm sorry to say i didn't. There isn't proper type support for RNW (react native web) ATM from what I understand. The solution of Ben Awad uses an old RNW version and separated versions as a result. At that time RNW didn't support hooks so you had to do that. Any other ideas? |
I would like to add typescript support but I don't really understand how
crnwa
works.Could you explain to me in details what happens when I run
npx crnwa myapp
?The text was updated successfully, but these errors were encountered: