Skip to content

Added ref forwarding to Flex and Box #58

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

Merged
merged 1 commit into from
Sep 2, 2021

Conversation

saitonakamura
Copy link
Collaborator

This would with various helpers and hooks that use refs to somehow affect the component,
say rotate it or draw a bounding box
My use case is to draw a UI on a plane than rotate it towards the eyesight in vr

Any thoughts against it? One other thing is that because of the additional indent it looks like everthing has changed, but it's not. Maybe we want to extract a top level function we'll pass to React.forwardRef?

@saitonakamura saitonakamura force-pushed the add-ref branch 2 times, most recently from 0a66836 to db5d3da Compare August 27, 2021 07:45
@saitonakamura saitonakamura marked this pull request as ready for review August 27, 2021 07:46
@giulioz
Copy link
Member

giulioz commented Sep 1, 2021

Can you please rebase?

This would with various helpers and hooks that use refs to somehow affect the component,
say rotate it or draw a bounding box
@saitonakamura
Copy link
Collaborator Author

@giulioz sure, done

@saitonakamura
Copy link
Collaborator Author

not sure what's with the ci, commands looks fine locally

@giulioz giulioz merged commit 4bd707e into pmndrs:master Sep 2, 2021
@saitonakamura saitonakamura deleted the add-ref branch October 5, 2021 07:05
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