Skip to content

Commit a05057b

Browse files
committed
feat: add comments to diff for React Native 0.74
1 parent 72c581c commit a05057b

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

src/releases/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { PACKAGE_NAMES } from '../constants'
33
const versionsWithContent = {
44
[PACKAGE_NAMES.RN]: [
55
'0.73',
6+
'0.74',
67
'0.72',
78
'0.71',
89
'0.69',

src/releases/react-native/0.74.tsx

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
import React, { Fragment } from 'react'
2+
import type { ReleaseT } from '../types'
3+
4+
const release: ReleaseT = {
5+
usefulContent: {
6+
description:
7+
'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).',
8+
links: [
9+
{
10+
title:
11+
'Official blog post about the major changes on React Native 0.74',
12+
url: 'https://reactnative.dev/blog/2024/04/22/release-0.74',
13+
},
14+
],
15+
},
16+
comments: [
17+
{
18+
fileName: '.yarnrc',
19+
lineNumber: 3,
20+
lineChangeType: 'add',
21+
content: (
22+
<Fragment>
23+
In React Native 0.74, for projects bootstrapped with React Native
24+
Community CLI, we've added first-class support for modern Yarn
25+
versions. For new projects Yarn 3.6.4 is the default package manager,
26+
and for existing projects, you can upgrade to Yarn 3.6.4 by running
27+
`yarn set version berry` in the project root. Read more
28+
[here](https://reactnative.dev/blog/2024/04/22/release-0.74#yarn-3-for-new-projects).
29+
</Fragment>
30+
),
31+
},
32+
],
33+
}
34+
35+
export default release

0 commit comments

Comments
 (0)