-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add DebugBundle/ReleaseBundle configs to sample cpp app #3588
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
Conversation
| JavaScriptBundleFile(L"index.windows"); | ||
| InstanceSettings().UseWebDebugger(false); | ||
| InstanceSettings().UseLiveReload(false); | ||
| #endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are default settings. I also find that this unnecessary makes the user code more complex. Can we avoid adding this code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking about this change: it seems that it is a quite complex approach to create a new build configuration every time when we want to customize run of RN app. A better approach is when the ReactApplication can read parameters from a command line or from some other config file. That way we can provide customization as a part of CLI and/or debug parameters in VS. It would give us more flexibility and be aligned with RN on other platforms.
Not ready for review yet.
Microsoft Reviewers: Open in CodeFlow