-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Integrate RN nightly 2/20 build #7282
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
6cb4e56 to
35a1e06
Compare
vnext/stubs/glog/logging.h
Outdated
|
|
||
| typedef int LogSeverity; | ||
| inline void FlushLogFiles(LogSeverity min_severity) { | ||
| LOG(""); |
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.
You can probably just no-op here. Rather than including the LOG call.
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.
Ok
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.
@acoates-ms Is this line below ok?
#define google GlogStub
I didn't know how else to do it..
vnext/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/mapbuffer/MapBuffer.cpp
Show resolved
Hide resolved
vnext/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/mapbuffer/MapBuffer.cpp
Show resolved
Hide resolved
35a1e06 to
aa19881
Compare
| // discovered when upgrading react-hooks | ||
| // eslint-disable-next-line react-hooks/exhaustive-deps |
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.
This should also let us remove the selective dependency resolution for react eslint rules in the root "package.json"
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
gloglibrary - 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 crudedefineI used inlogging.h.Microsoft Reviewers: Open in CodeFlow