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

refactor(transformer/react): remove CalculateSignatureKey implementation from refresh #5289

Commits on Aug 30, 2024

  1. refactor(transformer/react): remove CalculateSignatureKey implement…

    …ation from refresh (#5289)
    
    follow-up: #4587 (comment)
    
    The `CalculateSignatureKey`is used to collect signature keys, but since it requires a double visit, it doesn't perform very well. Now I use ScopeId to store the signature key that is generated in `CallExpression`. This way we can then determine which ArrowFunction/Function the `CallExpression` belongs to.
    Dunqing committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    7e2a7af View commit details
    Browse the repository at this point in the history