Joaquín Sánchez
Joaquín Sánchez
it is duplicated, #573 has the hack (can be closed)
it is only about using the context via default slot props, rn the example is not working since `state` is undefined, cannot use `useTresContext` since it can be only used...
Yes (like inject or exposed context prop)
Rn context is exposed via `defineExpose`, check the hack, maybe we only need to update the code snippet.
About the default slot: the problem is the custom renderer, it is adding custom stuff in the default slot, I will ask Kevin if we can retarget the slot using...
@alvarosabu @andretchen0 using default slot props in ExtendExample:    
Here the changes, update TresCanvas.vue in root and run build script from root, then start docs dev server once ExtendExample.vue and extending.md files updated: src/components/TresCanvas.vue ```ts // L84 const slots...
What's the problem using the default slot and exposing props? We can also add some logic to render children when camera and renderer there and provide just the camera and...
I'll include only code snippets, we've 3 languages and 2 more comming, we need to update only the example once avoiding to update every code snippet in every localised page....
@udos86 thx, I need to review all dependencies