-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 0.74 announcement post #4043
Conversation
❌ Deploy Preview for react-native failed.
|
✅ Deploy Preview for react-native ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Should we mention the recent |
I'm rotating to Primary Meta Releaser for 0.74, so am shifting myself up after the OSS Release Crew members.
* 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 <[email protected]>
* Fill out position static snippet for 0.74 * Remove 'easily'
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.
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.
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.
I've completed a draft-final pass. To-dos commented.
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
…he-new-architecture.md Co-authored-by: Kevin Gozali <[email protected]>
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.
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).
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
|
||
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 |
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 snipped doesn't add much value, I would either include install instructions or drop this.
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.
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 |
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.
It would be nice to include the deprecation warning messages in this section.
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
…he-new-architecture.md Co-authored-by: Ricky <[email protected]>
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Ricky <[email protected]>
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
`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. |
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.
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.
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.
LGTM 👍
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
|
||
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! |
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 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) |
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.
@huntie yup we should move this
website/blog/2024-04-22-0.74-yoga-improvements-preparing-for-the-new-architecture.md
Outdated
Show resolved
Hide resolved
|
||
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! |
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.
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."
Preview Post