useSurfaceSampler is not a composable #440
Labels
bug
Something isn't working
dx
p4-important-bug
Violate documented behavior or significantly improve performance (priority)
Describe the bug
While adding
on-demand
invalidation on theuseSurfaceSampler
andSampler
on #436 I noticed thatuseSurfaceSampler
is not a vue composable per definition (it doesn't deal with any type of reactivity or state), is just a function. See why here https://vuejs.org/guide/reusability/composables#what-is-a-composableSince we are providing to our users as it was a composable, I would expect that the options are reactive.
cientos/src/core/abstractions/useSurfaceSampler/index.ts
Lines 81 to 143 in 9e17559
Reproduction
Local playground, run useSurfaceSampler
Steps to reproduce
No response
System Info
Used Package Manager
pnpm
Code of Conduct
The text was updated successfully, but these errors were encountered: