-
Notifications
You must be signed in to change notification settings - Fork 508
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 to setup TSDX with an example application for React Native #388
Comments
@nartc you can setup meanwile #374 in progress |
BTW example from current template |
@ambroseus Thanks. I've tried setting up
|
After spending hours to get this setup properly without success, I've currently settled with a hack. Override Pros: Setup is easy. Setup a script Cons: Without further config needed, this hack requires the |
@ambroseus Done |
Closed as the "hack-around" is sufficient for my use-case enough. |
@nartc How would I make this solution work with a React Native Typescript project? Any pointers on how to solve this? |
Current Behavior
Hi guys,
I'm currently working on a React Native library (@nartc/react-native-barcode-mask) and
tsdx
has been working great for me. However, I found it pretty frustrated to test out new features/bug fixes without an example application.I've been trying to setup an
example
application that lives outside of thesrc
directory of the lib and trying to link the library source (ordist
) to use as a local dependency inside of theexample
application, but it hasn't been good. I've tried:yarn link
@nartc/react-native-barcode-mask: "file:./../"
or"link:./../"
insideexample/package.json
module-resolver
to resolve the module with the path to../dist
Desired Behavior
A clear guide/documentations on how to setup an
example
application (with live reload if possible) for React Native library.Again, here's the repo of the library: @nartc/react-native-barcode-mask
Any help, at all, is much appreciated. TIA!
PS: Great work on
tsdx
.The text was updated successfully, but these errors were encountered: