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

Interactivity API: Try this in callbacks for async actions #61098

Closed
wants to merge 2 commits into from

Conversation

sirreal
Copy link
Member

@sirreal sirreal commented Apr 25, 2024

What?

Why?

How?

Testing Instructions

Testing Instructions for Keyboard

Screenshots or screencast

Co-authored-by: Greg Ziółkowski <grzegorz@gziolo.pl>
@sirreal
Copy link
Member Author

sirreal commented Apr 26, 2024

I don't think this is a viable solution because getContext inside state getter functions will still be wrong, and that's a very common pattern based on my experience.

See #53586 (comment)

@sirreal sirreal closed this Apr 26, 2024
@sirreal sirreal deleted the try/interactivity-async-callback-via-this branch April 26, 2024 10:57
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.

None yet

2 participants