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

Consider supporting callbacks in modifiers #2024

Open
JakeWharton opened this issue May 13, 2024 · 0 comments
Open

Consider supporting callbacks in modifiers #2024

JakeWharton opened this issue May 13, 2024 · 0 comments

Comments

@JakeWharton
Copy link
Member

Already working in regular Redwood, but protocol Redwood does not support it as it tries to serialize them which obviously fails. Within a widget we could have a monotonic integer with which we associate each lambda and then use that for sending the events backwards. Just gotta be careful about correctly freeing old lambdas if the modifier stack changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant