Skip to content

Conversation

@rectified95
Copy link
Contributor

@rectified95 rectified95 commented Mar 5, 2021

Commits:
facebook/react-native@16efb8d...1fe5cac

facebook/react-native@022936b breaks our build with an unsafe cast - submitted PR in core to fix it: facebook/react-native#31106
In the meantime, I had to fork MapBuffer.cpp to make the change for RNW.

facebook/react-native@1fe5cac uses a logging function from the Google glog library - we currently stub out all the macros used from that library - needed to do something similar for a function call the make - it doesn't look very clean, please let me know how to improve the crude define I used in logging.h.

Microsoft Reviewers: Open in CodeFlow

@rectified95 rectified95 changed the title integrate Feb 20 Integrate RN nightly 2/20 build Mar 6, 2021
@rectified95 rectified95 marked this pull request as ready for review March 6, 2021 02:11
@rectified95 rectified95 requested a review from a team as a code owner March 6, 2021 02:11
@rectified95 rectified95 requested a review from NickGerleman March 7, 2021 00:59

typedef int LogSeverity;
inline void FlushLogFiles(LogSeverity min_severity) {
LOG("");
Copy link
Contributor

Choose a reason for hiding this comment

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

You can probably just no-op here. Rather than including the LOG call.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@acoates-ms Is this line below ok?
#define google GlogStub
I didn't know how else to do it..

Comment on lines +855 to +856
// discovered when upgrading react-hooks
// eslint-disable-next-line react-hooks/exhaustive-deps
Copy link
Contributor

Choose a reason for hiding this comment

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

This should also let us remove the selective dependency resolution for react eslint rules in the root "package.json"

@rectified95 rectified95 merged commit 25a5f41 into microsoft:master Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants