Important considerations for UseCanvas
masterWhen using <UseCanvas/>, be aware of two key behaviors:
- HMR (Hot Module Replacement): HMR might not work for the children of
<UseCanvas>unless you define those children outside the component. - Reactivity: The props passed to children of
<UseCanvas>are not reactive by default because the component is tunneled to the global canvas. To handle updated props, you must use the tunneling pattern described in the API documentation.