Anthony Fu

Results 1228 comments of Anthony Fu

Maybe instead a new function, it can be part of https://vueuse.org/shared/computedWithControl/#computedwithcontrol ?

Can you explain a bit more about the use case about this function? Thanks

I am not sure what is happening. From want I understand: - VueUse does not directly import `vue`, while `vue-demi` has `vue` as peerDeps - You already have `vue` in...

Sounds reasonable. I think we could have a compile-time transform using `esbuild` to generate JS frame in docs' build. PR welcome if anyone wants to work on it.

We could generate two code block at build time and toggle them with `display:none` based on config

That's a good idea and I kinda want to have this for a while but don't get a chance to have this demand in real-world applications. PR is definitely welcome,...

I think that's a good idea but I think it's better to have it in a separate function to avoid breaking changes and compatibility issues.

Yeah it's amazing that @pi0 managed to get jiti working with top-level await! I don't have a strong opinion between this PR and https://github.com/eslint/eslint/pull/18440, either way would work great, as...