ds300 / ds300/react-native-typescript-transformer
Got RN-Web platform-specific file extensions working manually, how could we automate this?
Open
- Dominant language
- JavaScript
- Stars
- 656
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
Hi, thanks for this excellent project, makes setting up RN + TS a lot easier!
I've integrated this with React Native Web which supports file splitting by extension (.web.tsx / .native.tsx / .ios.tsx / .android.tsx). However, Typescript doesn't play nicely with that piece of magic.
I opened a similar issue at the RNW repo asking if anyone has the know-how to write a piece of magic that would get this under the hood? Or is this something that's already supportable?
Demo of my (hacky) system: https://github.com/mosesoak/react-native-web-ts-app
Contributor guide
Assessment
This issue has not been assessed yet.