Kyle Tse

Results 105 comments of Kyle Tse

> template refs no probably. template ref is actively reference the element, you name the element and add it to the element you want. but what I need is passive....

> I'm really don't know your case but maybe useTitle might help you? > > I'm sorry for this questions. > > In my opinion change element from other component...

> We can incapsulate selecting meta elements in composition if we don't find better solution. Here is my workaround solution to watch the meta. some metas are not like title...

> @shtse8 is https://github.com/vueuse/head can resolve this problem ? no, that's what I am using. I need to watch the head. but the head is not watchable. https://github.com/vueuse/head/issues/76

```ts export function computedWhenever(source: WatchSource, fn: ComputedGetter | WritableComputedOptions) { return customRef((track, trigger) => { let isDirty = true let value: T const get = isFunction(fn) ? fn : fn.get...

I think it's hard to avoid. For example, consider making a `useFacebookSdk` componsable which has `useScriptTag` inside `App.vue` uses `logPageView()` and there is a component like `Sharer.vue` also use `useFacebookSdk`,...

I am looking forward to an explanation as well!

I am in need too. Anyone could provide this so that I don't need to check the interactive doc always.

> Is there a workaround for this problem? I have made a custom `TextComponentEx` to extend `TextComponent` for workaround. Just a workaround, performance is not a consideration. ```dart class TextComponentEx...