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

Allow mutating page state in event handlers #1807

Merged
merged 7 commits into from
Mar 27, 2023
Merged

Allow mutating page state in event handlers #1807

merged 7 commits into from
Mar 27, 2023

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Mar 27, 2023

Closes #1801
Closes #1569

Screen.Recording.2023-03-27.at.12.05.23.mov

@Janpot Janpot added the core Infrastructure work going on behind the scenes label Mar 27, 2023
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 27, 2023
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 27, 2023
await result.value;

setPageBindings((existingBindings) => {
return Object.fromEntries(
Copy link
Member

Choose a reason for hiding this comment

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

Would our mapValues utility work here instead of Object.fromEntries(Object.entries ...?

@Janpot Janpot enabled auto-merge (squash) March 27, 2023 16:01
@Janpot Janpot merged commit e0e6924 into master Mar 27, 2023
@Janpot Janpot deleted the proto-update branch March 27, 2023 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Button click binding is not working Button component should be able to control another component
2 participants