Skip to content

Add 0.74 announcement post - #4043

Merged
huntie merged 32 commits into
mainfrom
0.74-post
Apr 22, 2024
Merged

Add 0.74 announcement post#4043
huntie merged 32 commits into
mainfrom
0.74-post

Conversation

@lunaleaps

@lunaleapslunaleaps commented Mar 7, 2024

Copy link
Copy Markdown
Contributor

Preview Post

@netlify

netlifyBot commented Mar 7, 2024

Copy link
Copy Markdown

Deploy Preview for react-native failed.

NameLink
🔨 Latest commit0de44a8
🔍 Latest deploy loghttps://app.netlify.com/sites/react-native/deploys/65e906cf1844440008ef6aed

@netlify

netlifyBot commented Mar 7, 2024

Copy link
Copy Markdown

Deploy Preview for react-native ready!

NameLink
🔨 Latest commit5f1de51
🔍 Latest deploy loghttps://app.netlify.com/sites/react-native/deploys/662698cb6425be0008f72d5e
😎 Deploy Previewhttps://deploy-preview-4043--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
@ecreeth

Copy link
Copy Markdown
Contributor

Should we mention the recent Hermes features?:

Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
@huntiehuntie changed the title 0.74 BlogpostAdd 0.73 announcement postMar 26, 2024
NickGerlemanand others added 2 commits March 26, 2024 14:30
* scaffold 0.74 post
* more things
* Draft 0.74 Release Notes Yoga Snippet
* Add align-content: space-evenly
* Remove the section on experimental_layoutConformance
* cleanup
* Rewording
* Update 2024-04-15-0.74-post.md
---------
Co-authored-by: Luna Wei <lunaleaps@gmail.com>
* Fill out position static snippet for 0.74
* Remove 'easily'
@huntiehuntie changed the title Add 0.73 announcement postAdd 0.74 announcement postApr 2, 2024

@cipolleschicipolleschi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great draft, thank you for setting this up. I left some comments related to the workstream we are running for the New Architecture and the interop layers.

Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
@huntiehuntie self-assigned this Apr 15, 2024
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated
Comment threadwebsite/blog/2024-04-15-0.74-post.md Outdated

@huntiehuntie left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've completed a draft-final pass. To-dos commented.

…he-new-architecture.md
Co-authored-by: Kevin Gozali <fkgozali@users.noreply.github.com>

@rickhanloniirickhanlonii left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some nits, I'd also recommend doing a pass to ensure code is consistently wrapped in backticks so it's formatted as a code block (for example PushNotificationIOS isn't wrapped).


Yarn 3.x will be used with `nodeLinker: node-modules`, a mode providing compatibility with React Native libraries. This replaces Yarn Classic (1.x, deprecated) as the previous default. To upgrade Yarn version inside your existing app you can follow this [guide](https://yarnpkg.com/migration/guide).

```sh

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This snipped doesn't add much value, I would either include install instructions or drop this.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't, the aim was to provide a small visual for this item. I think it is also marginally useful as a hint for people to run yarn --help to check what version they have in their current project.

Keeping unless there is further support to remove.


In the next release (0.75), **we are planning to remove this library**, relocating it out of React Native core and into the community package, [@react-native-community/push-notification-ios](https://github.com/react-native-push-notification/ios). If you are still relying on PushNotificationIOS, you’ll need to migrate over before the next release.

#### API Changes

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to include the deprecation warning messages in this section.

…he-new-architecture.md
Co-authored-by: Ricky <rickhanlonii@fb.com>
Co-authored-by: Ricky <rickhanlonii@fb.com>
`position: 'static'` is supported only in the New Architecture.
:::

Elements marked as [`position: 'static'`](https://developer.mozilla.org/en-US/docs/Web/CSS/position#static) may not be offset, and are not considered when determining the [containing block](https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block) of an absolutely positioned element. This allows positioning an element relative to an ancestor which is not its direct parent.

@joevilchesjoevilchesApr 19, 2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elements marked as position: 'static' may not be offset, and are not considered when determining the containing block of an absolutely positioned element. This allows positioning an element relative to an ancestor which is not its direct parent.

This can be removed now due to some in-progress changes that make this not true since every static node is a flex item, which do form stacking contexts. It is true at the release of 0.74, but since it will change soon it is probably best to just not call it out.

Comment threadwebsite/blog/2024-04-22-release-0.74.md Outdated

@cortinicocortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍


In this release, we are making **Bridgeless Mode the default when the New Architecture is enabled**. You can learn more about our switch to Bridgeless as the default in this post (_coming soon_). To make the transition smoother we enhanced the interop layers to cover Bridgeless and worked with several libraries to make sure they will work in Bridgeless from day one.

Bridgeless is not the only interop layer we worked on: we improved the New Renderer Interop layer too!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also has a dedicated working group post. @cipolleschi can you expand on this sentence a bit with a couple of words + add a placeholder for the post?

This change **may break code** that has relied on un-batched state updates. You'll need to refactor this code to use [updater functions](https://react.dev/learn/queueing-a-series-of-state-updates#updating-the-same-state-multiple-times-before-the-next-render) or equivalent.
:::

### Android SDK minimum bump (Android 6.0)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@huntie yup we should move this


In this release, we are making **Bridgeless Mode the default when the New Architecture is enabled**. You can learn more about our switch to Bridgeless as the default in this post (_coming soon_). To make the transition smoother we enhanced the interop layers to cover Bridgeless and worked with several libraries to make sure they will work in Bridgeless from day one.

Bridgeless is not the only interop layer we worked on: we improved the New Renderer Interop layer too!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there will be a link to another post for the Fabric interop layer. We can add something like: "check out the updates in this post."

Comment threadwebsite/blog/2024-04-22-release-0.74.md Outdated
Comment threadwebsite/blog/2024-04-22-release-0.74.md Outdated
Comment threadwebsite/blog/2024-04-22-release-0.74.md Outdated
Comment threadwebsite/blog/2024-04-22-release-0.74.md Outdated
@huntie
huntie merged commit 7ef5f09 into mainApr 22, 2024
@huntie
huntie deleted the 0.74-post branch April 22, 2024 17:26
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

17 participants

@lunaleaps@ecreeth@javache@yungsters@elicwhite@rshest@NickGerleman@fkgozali@rickhanlonii@huntie@cortinico@thymikee@ingridwang@cipolleschi@joevilches@szymonrybczak@facebook-github-bot