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

Optimize method calls w props receiver #31771

Closed
wants to merge 2 commits into from

Conversation

josephsavona
Copy link
Contributor

@josephsavona josephsavona commented Dec 13, 2024

Stack from ghstack (oldest at bottom):

Copy link

vercel bot commented Dec 13, 2024

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this project.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

josephsavona added a commit that referenced this pull request Dec 13, 2024
ghstack-source-id: 6a49070add645384c4b764db4749f829a1992f43
Pull Request resolved: #31771
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Dec 13, 2024
@josephsavona
Copy link
Contributor Author

Closes #31763

@@ -50,26 +50,35 @@ export const FIXTURE_ENTRYPOINT = {
```javascript
import { c as _c } from "react/compiler-runtime"; // @enableJsxOutlining
function Component(arr) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: can we rewrite this fixture to destructure props i.e. function Component({ arr })?

```

### Eval output
(kind: exception) Fixture not implemented
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: could we add a FIXTURE_ENTRYPOINT export here?

Copy link
Contributor

@mofeiZ mofeiZ left a comment

Choose a reason for hiding this comment

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

nice!!

josephsavona added a commit that referenced this pull request Dec 14, 2024
ghstack-source-id: 9c6361d548fa821f900c4a4f25ff7297d6c0b676
Pull Request resolved: #31771
josephsavona added a commit that referenced this pull request Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants