Skip to content

Losing React Context in <Canvas/> children #1122

Answered by joshuaellis
jniac asked this question in Q&A
Discussion options

You must be logged in to vote

I think this is written in the documentation as a caveat. You should check out ‘drei’s contextBridge component

EDIT: https://github.com/pmndrs/drei#usecontextbridge

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@jniac
Comment options

Answer selected by joshuaellis
Comment options

You must be logged in to vote
4 replies
@jniac
Comment options

@joshuaellis
Comment options

@jniac
Comment options

@drcmda
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1121 on March 23, 2021 20:24.