Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: upgrade React to v16.6.3#225

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
aleclarson wants to merge13 commits intoptmt:master
base:master
Choose a base branch
Loading
fromaleclarson:alpha

Conversation

@aleclarson
Copy link
Collaborator

This PR provides support for the React version used by React Native v0.58.3 (the current version at time of writing). I've done some thorough testing in the RNTester, but it would be great if some other people could test this PR on their own apps and provide feedback.

Note: This PR doesnot include any newnative features, so there are plenty ofreact-native commits that still need to be ported over. I plan to makeReact hooks work insidereact-native-macos in a future PR, so that's why this PR was created.

@ptmt
Copy link
Owner

ptmt commentedJan 29, 2019 via email

Will be able to try to test on couple apps later this week
On Tue, 29 Jan 2019 at 07:15, Alec Larson ***@***.***> wrote: This PR provides support for the React version used by React Native v0.58.3 (the current version at time of writing). I've done some thorough testing in the RNTester, but it would be great if some other people could test this PR on their own apps and provide feedback. *Note:* This PR does *not* include any new *native* features, so there are plenty of react-native commits that still need to be ported over. I plan to make React hooks <https://reactjs.org/docs/hooks-intro.html> work inside react-native-macos in a future PR, so that's why this PR was created. ------------------------------ You can view, comment on, or merge this pull request online at:#225 Commit Summary - feat: upgrade React to v16.6.3 - Log query name for fetchRelayQuery - RN: Remove React Stack Systrace Logic - Move TouchHistoryMath from React Repo to React Native - Move takeSnapshot from React repo to RN - fix: delete ReactNativePropRegistry - fix: stop using ReactNativeComponentTree - fix: stop using ReactNativeBridgeEventPlugin - throw when <View> exists in <Text> - fix: remove unused Renderer shims - fix: add @providesModule to updated Renderer shims File Changes - *M* Libraries/Components/ScrollResponder.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-0> (15) - *M* Libraries/Components/View/View.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-1> (4) - *M* Libraries/Core/InitializeCore.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-2> (2) - *M* Libraries/Interaction/PanResponder.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-3> (2) - *A* Libraries/Interaction/TouchHistoryMath.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-4> (151) - *M* Libraries/Performance/Systrace.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-5> (64) - *M* Libraries/ReactNative/requireNativeComponent.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-6> (6) - *A* Libraries/ReactNative/takeSnapshot.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-7> (48) - *M* Libraries/Renderer/REVISION <https://github.com/ptmt/react-native-macos/pull/225/files#diff-8> (2) - *D* Libraries/Renderer/ReactNativeRenderer-dev.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-9> (13009) - *D* Libraries/Renderer/ReactNativeRenderer-prod.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-10> (5828) - *A* Libraries/Renderer/oss/ReactFabric-dev.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-11> (17946) - *A* Libraries/Renderer/oss/ReactFabric-prod.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-12> (6444) - *A* Libraries/Renderer/oss/ReactFabric-profiling.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-13> (6639) - *A* Libraries/Renderer/oss/ReactNativeRenderer-dev.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-14> (18249) - *A* Libraries/Renderer/oss/ReactNativeRenderer-prod.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-15> (6632) - *A* Libraries/Renderer/oss/ReactNativeRenderer-profiling.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-16> (6843) - *M* Libraries/Renderer/shims/NativeMethodsMixin.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-17> (2) - *D* Libraries/Renderer/shims/ReactDebugTool.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-18> (17) - *A* Libraries/Renderer/shims/ReactFabric.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-19> (28) - *D* Libraries/Renderer/shims/ReactFeatureFlags.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-20> (16) - *D* Libraries/Renderer/shims/ReactGlobalSharedState.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-21> (17) - *M* Libraries/Renderer/shims/ReactNative.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-22> (3) - *D* Libraries/Renderer/shims/ReactNativeBridgeEventPlugin.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-23> (17) - *D* Libraries/Renderer/shims/ReactNativeComponentTree.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-24> (18) - *D* Libraries/Renderer/shims/ReactNativePropRegistry.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-25> (18) - *M* Libraries/Renderer/shims/ReactNativeTypes.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-26> (111) - *A* Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-27> (112) - *D* Libraries/Renderer/shims/ReactPerf.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-28> (16) - *M* Libraries/Renderer/shims/ReactTypes.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-29> (58) - *D* Libraries/Renderer/shims/TouchHistoryMath.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-30> (17) - *M* Libraries/Renderer/shims/createReactNativeComponentClass.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-31> (28) - *D* Libraries/Renderer/shims/takeSnapshot.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-32> (17) - *M* Libraries/StyleSheet/StyleSheet.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-33> (21) - *M* Libraries/StyleSheet/flattenStyle.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-34> (21) - *M* RNTester/js/TextExample.macos.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-35> (12) - *M* RNTester/js/TextInputExample.macos.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-36> (8) - *M* jest/setup.js <https://github.com/ptmt/react-native-macos/pull/225/files#diff-37> (6) - *M* package.json <https://github.com/ptmt/react-native-macos/pull/225/files#diff-38> (4) Patch Links: -https://github.com/ptmt/react-native-macos/pull/225.patch -https://github.com/ptmt/react-native-macos/pull/225.diff — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#225>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA9SUy-XunKxwHyFI2YBQVaBnWp9SpX0ks5vH8rHgaJpZM4aXQ4R> .
aleclarson reacted with thumbs up emoji

aleclarsonand others added11 commitsJanuary 29, 2019 10:34
This uses the same revision that React Native v0.58.3 is using.
Reviewed By: yisunDifferential Revision: D6692869fbshipit-source-id: 5484070be9995c5294197b0c2766690fd7accefa
Reviewed By: sophiebitsDifferential Revision: D7027263fbshipit-source-id: f4eb3fab402eda337f464e4ebb0771202a9b93f2
Summary:This hasn't been used by React core for a while. It's unclear why it was in the first place.We can move it back next to the Panresponder.facebook/react#12557Reviewed By: sophiebitsDifferential Revision: D7529949fbshipit-source-id: ef9892cfa8d2d6768da216b81befabe02795a245
Reviewed By: sophiebitsDifferential Revision: D7547298fbshipit-source-id: 6ab0c0a9e244a2f68d27307b84285b2c8fff1342
@ptmt
Copy link
Owner

Usingaleclarson/react-native-macos#alpha I got the new error window with a little bit broken layout around buttons. Plus maybe a bit around font size and padding or is it intended?

screenshot 2019-01-29 21 26 59

Regarding the error itself, I think I might overlook something related to metro bundler, need some time to investigate. The repo is herehttps://github.com/16ms/videotape

@ptmt
Copy link
Owner

Thanks again for your work!

aleclarson reacted with thumbs up emojialeclarson reacted with rocket emoji

@aleclarsonaleclarson added this to the0.20.0 milestoneMar 3, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

0.20.0

Development

Successfully merging this pull request may close these issues.

5 participants

@aleclarson@ptmt@alexeylang@yungsters@sebmarkbage

[8]ページ先頭

©2009-2025 Movatter.jp