Skip to content

Conversation

@asklar
Copy link
Member

@asklar asklar commented May 19, 2020

Fixes #4925 and allows mixing RN content with non-RN in a markup-first way, fixes #4940
Fixes the exception I left in for #4619 now that the floating point bug is fixed.

image

Microsoft Reviewers: Open in CodeFlow

@asklar asklar force-pushed the reactApplication branch from a079c86 to 13b8554 Compare May 22, 2020 04:29
@asklar asklar changed the title React application should not impose a reactrootview ReactApplication should not impose a reactrootview May 23, 2020
@asklar asklar marked this pull request as ready for review May 23, 2020 10:20
@asklar asklar requested a review from a team as a code owner May 23, 2020 10:20
@vmoroz
Copy link
Member

vmoroz commented May 26, 2020

Frame rootFrame{nullptr};

It seems that this code repeats what is already in the App template.


Refers to: vnext/Microsoft.ReactNative/ReactApplication.cpp:184 in 10e75fb. [](commit_id = 10e75fb, deletion_comment = False)

Copy link
Member

@vmoroz vmoroz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@asklar asklar changed the title ReactApplication should not impose a reactrootview ReactApplication should not impose a ReactRootView May 26, 2020
@asklar asklar merged commit a85f4c8 into microsoft:master May 27, 2020
}

function printFailedTests(ft) {
console.log('Failed test cases: ');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider console.error and using Chalk to set a color.

@NickGerleman NickGerleman added the Breaking Change This PR will break existing apps and should be part of the known breaking changes for the release label May 27, 2020
@NickGerleman
Copy link
Contributor

Marking as a breaking change since the template changes, and it seems like public APIs do as well (didn't look super closely tbh).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking Change This PR will break existing apps and should be part of the known breaking changes for the release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make app template use ReactNativeHost ReactApplication doesn't have a way to mix RN and non-RN content Scaling is wrong in RNW, possible Yoga issue

3 participants