Skip to content

Pin exact version of React Compiler packages#6607

Merged
gaearon merged 1 commit into
bluesky-social:mainfrom
poteto:pin-react-compiler
Nov 21, 2024
Merged

Pin exact version of React Compiler packages#6607
gaearon merged 1 commit into
bluesky-social:mainfrom
poteto:pin-react-compiler

Conversation

@poteto
Copy link
Copy Markdown
Contributor

@poteto poteto commented Nov 21, 2024

This PR pins the various React Compiler packages to their exact versions. While it is typically safe to upgrade the compiler, we recommend manual upgrades because changes in memoization may or may not be unexpected.

In the near future we will open source an upgrade script that automates comparing the current compiled output with the upgraded output and prints a diff for human confirmation prior to committing the upgrade.

This PR pins the various React Compiler packages to their exact
versions. While it is typically safe to upgrade the compiler, we
recommend manual upgrades because changes in memoization may or may not
be unexpected.

In the near future we will open source an upgrade script that automates
comparing the current compiled output with the upgraded output and
prints a diff for human confirmation prior to committing the upgrade.
Copy link
Copy Markdown
Contributor

@gaearon gaearon left a comment

Choose a reason for hiding this comment

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

lg

@gaearon gaearon merged commit dff11fc into bluesky-social:main Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants