-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Move playground-win32 to Microsoft.ReactNative #4895
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
| auto cmbEngines = GetDlgItem(hwnd, IDC_JSENGINE); | ||
| int itemIndex = (int)SendMessageW(cmbEngines, (UINT)CB_GETCURSEL, (WPARAM)0, (LPARAM)0); | ||
| self->m_jsEngine = static_cast<react::uwp::JSIEngine>(itemIndex); | ||
| // auto cmbEngines = GetDlgItem(hwnd, IDC_JSENGINE); |
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.
intentional? Other places you commented on why it was commented out.
| SendMessageW(cmbEngines, (UINT)CB_ADDSTRING, (WPARAM)0, (LPARAM)TEXT("Hermes")); | ||
| SendMessageW(cmbEngines, (UINT)CB_ADDSTRING, (WPARAM)0, (LPARAM)TEXT("V8")); | ||
| SendMessageW(cmbEngines, CB_SETCURSEL, (WPARAM) static_cast<int32_t>(self->m_jsEngine), (LPARAM)0); | ||
| // SendMessageW(cmbEngines, CB_SETCURSEL, (WPARAM) static_cast<int32_t>(self->m_jsEngine), (LPARAM)0); |
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.
Intentional? Other places you commented on why it was commented out.
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.
Mostly because I expect this functionality to come back soon as we add support for switching engines to the public API.
|
What was the plan re: RNTester AsyncStorage dependency, or does that just work right now? |
| break; | ||
| case winrt::Microsoft::ReactNative::RedBoxErrorType::Native: | ||
| OutputDebugStringA("Native Error: "); | ||
| break; |
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.
consider using the functionality provided by cdebug.h
packages/playground/windows/playground-win32/Playground-win32.vcxproj
Outdated
Show resolved
Hide resolved
packages/playground/windows/playground-win32/Playground-win32.vcxproj
Outdated
Show resolved
Hide resolved
packages/playground/windows/playground-win32/Playground-win32.vcxproj
Outdated
Show resolved
Hide resolved
|
Hello @acoates-ms! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
This moves the playground-win32 project from ReactUwp to Microsoft.ReactNative.
#4919 is required to actually be able to run playground-win32, as it fixes a crash in AttachBackHandlers which hits Xaml Islands on boot.
Fixes #3854
Microsoft Reviewers: Open in CodeFlow