-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #384 from szymonrybczak/fix/74/add-proper-info-abo…
…ut-yarn-3 feat: add comments to diff for React Native 0.74
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
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,35 @@ | ||
import React, { Fragment } from 'react' | ||
import type { ReleaseT } from '../types' | ||
|
||
const release: ReleaseT = { | ||
usefulContent: { | ||
description: | ||
'React Native 0.74 includes Yoga 3.0, Bridgeless by default under the New Architecture, batched onLayout updates, Yarn 3, removal of previously deprecated PropTypes, and some breaking changes, including updates to PushNotificationIOS. The Android Minimum SDK is now 23 (Android 6.0).', | ||
links: [ | ||
{ | ||
title: | ||
'Official blog post about the major changes on React Native 0.74', | ||
url: 'https://reactnative.dev/blog/2024/04/22/release-0.74', | ||
}, | ||
], | ||
}, | ||
comments: [ | ||
{ | ||
fileName: 'package.json', | ||
lineNumber: 36, | ||
lineChangeType: 'add', | ||
content: ( | ||
<Fragment> | ||
In React Native 0.74, for projects bootstrapped with React Native | ||
Community CLI, we've added first-class support for modern Yarn | ||
versions. For new projects Yarn 3.6.4 is the default package manager, | ||
and for existing projects, you can upgrade to Yarn 3.6.4 by running | ||
`yarn set version berry` in the project root. Read more | ||
[here](https://reactnative.dev/blog/2024/04/22/release-0.74#yarn-3-for-new-projects). | ||
</Fragment> | ||
), | ||
}, | ||
], | ||
} | ||
|
||
export default release |