Skip to content

[TwigComponent] Fix internal variables are dispatched #2220

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

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

smnandre
Copy link
Member

The key/values this/computed/outerScope/__props/__context are internal and should not have been exposed in Event

  • it does not match the documentation
  • it causes non needed memory usage / log
  • modifying them would break the entire rendering process

(i'll make another PR soon to simplify & clarify __props, __context, and props)

The key/values this/computed/outerScope/__props/__context are internal and should not have been exposed in Event

* it does not match the documentation
* it causes non needed memory usage / log
* modifying them would break the entire rendering process

(i'll make another pass soon to simplify & clarify `__props`, `__context`, and `props`)
@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels Sep 28, 2024
@javiereguiluz
Copy link
Member

Thanks Simon.

@javiereguiluz javiereguiluz merged commit 3592e6d into symfony:2.x Sep 30, 2024
58 of 59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Reviewed Has been reviewed by a maintainer TwigComponent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants