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

Unovis React: Fixing ref initialization #344

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

rokotyan
Copy link
Contributor

@rokotyan rokotyan commented Mar 5, 2024

Previously component refs were undefined due to the component initialization cycle. Changing the ref logic to use a getter to always return the latest instance of the component.

Copy link
Collaborator

@reb-dev reb-dev left a comment

Choose a reason for hiding this comment

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

@rokotyan Nice! Thanks for the fix.

@reb-dev reb-dev merged commit a6e33e9 into f5:main Mar 7, 2024
3 checks passed
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