Skip to content
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

Use the same JavaScript engine in Debug and Release #8102

Closed
jaimecbernardo opened this issue Jun 24, 2021 · 2 comments
Closed

Use the same JavaScript engine in Debug and Release #8102

jaimecbernardo opened this issue Jun 24, 2021 · 2 comments

Comments

@jaimecbernardo
Copy link

When porting native modules to react-native-windows, one of the issues developers face is the differences between building for Debug and Release in an application's default configuration.

The fact that different engines are used these means that there is some JavaScript code that runs on iOS and Android and even Windows on Debug but then fails on Windows on Release.

Examples of issues:

From a development point of view, these changes are at their worse when a developer is developing an application in Debug and then tries out some Release builds closer to shipping and is met with a blank screen, which is hard to debug to pinpoint which code might be causing it. It'd be good if these cases were easier to debug as well.

@ghost ghost added the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Jun 24, 2021
@asklar
Copy link
Member

asklar commented Jun 24, 2021

Eventually RN will move away from web debugging and onto direct debugging by default, which should take care of the disparity between debug/release. This likely requires Hermes to be fully supported #6137

@asklar asklar added this to the Backlog milestone Jun 24, 2021
@asklar asklar added Area: Developer Experience enhancement and removed Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) labels Jun 24, 2021
@marlenecota marlenecota added the Recommend: Backlog Recommend that issue should be given Backlog milestone. label Aug 29, 2023
@chiaramooney chiaramooney removed the Recommend: Backlog Recommend that issue should be given Backlog milestone. label Sep 21, 2023
@chrisglein
Copy link
Member

This is now the default experience in RNW 0.74, as we default to direct debugging and web debugging is deprecated.
@TatianaKapos @jonthysell FYI

@chrisglein chrisglein modified the milestones: Backlog, 0.74 Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants