Skip to content

UseContext in children components. #583

Discussion options

You must be logged in to vote

Hi! Each Unity Context is unique, so it's only available upon creation. But you can use React Context to expose the Unity Context to other components.

https://react.dev/reference/react/createContext

Replies: 1 comment 1 reply

Comment options

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

Answer selected by JuanDavidPF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants