Skip to content
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

Do not consume component value on visitor failure #48985

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

NickGerleman
Copy link
Contributor

Summary:
This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jan 28, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68733518

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jan 28, 2025
Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jan 29, 2025
…#48985)

Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jan 29, 2025
…#48985)

Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jan 29, 2025
Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jan 29, 2025
…#48985)

Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jan 29, 2025
…#48985)

Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68733518

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jan 29, 2025
Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68733518

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jan 29, 2025
Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68733518

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jan 29, 2025
Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68733518

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jan 29, 2025
…#48985)

Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
Summary:

tsia

Also added a quick helper to CSSColor used later.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D68741768
Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68733518

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jan 29, 2025
…#48985)

Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jan 29, 2025
…#48985)

Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jan 29, 2025
…#48985)

Summary:

This reverts some of the behavior I added in D68357624, since peeking a component value is non-obviously more expensive than manually copying the parser, and needing to peek will be a pain for flat lists of values (like for box-shadow).

Changelog: [internal]

Differential Revision: D68733518
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants