This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
[WIP] Update React Native to 0.57.4 #1210
Closed
+1,996
−3,636
Closed
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
7aa00ad
Update the React Native version, and get types up to date
orta c732afa
Update native deps
orta 535d359
React Native upgrade for rutime behavior
orta 7c4cb28
WIP on React NAtive upgrade for jest tests
orta b9511bc
Resolve a version of fsevents that doesn't crash on node 10
orta 1703442
Gets some of the tests to compile
orta aeffc47
Dep updates
orta 9dbd415
Try updating to RN 0.58
orta 7c3a201
Downgrade rn to 57
zephraph 1894ce5
Update snapshots
zephraph 205b466
Fix react-tracking mock failing
zephraph 712068b
Clean up comments
zephraph 21f30bd
[babel] Strip Flow type annotations before any other transforms.
alloy 8a5046b
[test] Update snapshots with new default values.
alloy 6a35072
[test] Fail on error/warn logs with helpful message.
alloy a4f82bf
[package] Pin exact RN/React/ReactDOM/Enzyme deps
alloy 8b26f80
[test] Ignore ReactDOM warnings that don’t apply to RN.
alloy 42d1a3a
[test] Fix tests that were logging.
alloy 373c444
[test] A few more snapshot updates after dep updates.
alloy fac389a
[MockRelayRenderer] Properly name test
alloy f173ff1
[test] Fix test that was bleeding failing async code into other tests
alloy 666a9eb
[styled-components] Remove usage of deprecated API.
alloy c0c1b0e
[ci] Make fsevents optional
orta c179cfd
[tsc] Makes types green
orta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Update the React Native version, and get types up to date
- Loading branch information
commit 7aa00ad2393ad811a113d5f5f495336c35dc86b7
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Exists in JS runtime, needed by relay | ||
interface File { | ||
_?: boolean | ||
} | ||
|
||
// Exists in JS runtime *when running in a web inspector | ||
interface Console { | ||
groupCollapsed(message?: any, ...optionalParams: any[]): void | ||
groupEnd(): void | ||
} | ||
|
||
// Needed by styled components, normally comes from the DOM d.ts | ||
interface StyleSheet { | ||
_?: boolean | ||
} | ||
|
||
interface Node { | ||
_?: boolean | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 be:
(That could be simplified by making a separate fragment/container for the individual (conversation) nodes, which would give you a new type.)
And
me
should get typed hereThere 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.
Btw, in that example
Props["me"]
is equal toConversations_me
, I go back and forth on what way to use 🤔