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

onRefAssignment PoC #373

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

lucasdellabella
Copy link
Contributor

@lucasdellabella lucasdellabella commented Jan 12, 2022

Need to be able to access the node refs outside of the component so I can have my UI pick nodes and jump the canvas to them. Does something like this make sense @bkrem? Feel like there might be someway we're supposed to be forwarding refs. I considered

  • passing down a function that generates and returns a ref, and then just sets that ref on the component, but it looks like your component needs access to the ref as well.
  • ?? Other things that didn't make sense. Would love to hear your input on this!

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.

1 participant