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

Fix CustomComponent rendering #2169

Merged
merged 2 commits into from
Nov 14, 2023
Merged

Fix CustomComponent rendering #2169

merged 2 commits into from
Nov 14, 2023

Conversation

masenf
Copy link
Collaborator

@masenf masenf commented Nov 14, 2023

Copy props passed to Component._render before mutation to avoid modifying the callers' value (which could be reused).

Update integration-tests.yml to always test against reflex-dev/reflex-web#main branch, even if it might introduce instability from time to time.

Avoid mutating the value passed by the CustomComponent, which gets reused for
many renders.
Avoid running against potentially out of date reflex-web revisions.

Yes, this could make CI unstable, but we should fix that instead of pinning to
an old version and forgetting to update it.
@picklelo picklelo merged commit ce47fcf into main Nov 14, 2023
45 checks passed
Alek99 pushed a commit that referenced this pull request Nov 20, 2023
@masenf masenf deleted the masenf/fix-custom-component branch December 6, 2023 22:18
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.

2 participants