Daniel Mittereder

Results 5 comments of Daniel Mittereder

Looks like this warning is still showing up whenever a QBtn with a `loading` prop is clicked. Is this expected?

I wrote a helper function that also takes a bounding box as option. It is not very elegant as it does not address the underlying position fixed/absolute offset issue. I...

I wanted to create a new issue targeting the same problem but then I found this one so I am commenting here. See this [stackblitz](https://stackblitz.com/edit/node-m1xty1?file=main.cts&startScript=test:node,test:ts-node). ```ts // main.cts (async ()...

Seems very promising! I guess with solid's tuple syntax it could look something like this? [TS Playground](https://www.typescriptlang.org/play/?ssl=25&ssc=1&pln=1&pc=1#code/C4TwDgpgBAyglgcwHYEMA2AFFcBOAeAFQD4oBeKAbQQmADV0BXCALigHoAqKAZ2BQCM00DmygAKAJRkSBADQ8a9NE1acoAWwZ9gcJAigjxAN0YsoBKaRJGA9nAAmAXQDcAKFf2IAYzQoc0ADMGJC8dGyQoL38UYAh4ZHRCIjETZTMLVnjUTGx8YncvcN5KQuDgeW4aAGEbMscySOjYrMSkBnV+CBwoAB8oYM8A3Qh7ZIAGCTdCpGKKUqRgACYK6tqFxfryKIgYuMRsvDaOrt7+pEHh0bEJt1c4APFQSBsH+eBJMlJyAHIjzpxvlIAN6uKDsURgyFQAB6AH5xJYSH8Tn0BhAhkgRu4wW9FpJnOCoABVVABALeWL2KD8EBQVA4HA2ADuugQoMJcIR0jp7X+pzRGKx7Le+MJADk-IymSMoMAbHTwgBaNpoXyCCDstiiTkfKw8444bEKYA1Mp4xaTQlVdBoVnG03rKD2GwQbhIb7AKAoMkUyJrYDC-34zXa+G6pG8rrs9mVE1Bi0ErVQa2qu2xh2e-yx7h+sqBsrBsFJnWI-V81HndGXVwAX1cQA) ```ts type SignalPair = [getValue: stable () => T, setValue: mutating (value: T)...

Wouldn't [Ryan's suggestion](https://github.com/microsoft/TypeScript/issues/60948#issuecomment-2583378157) (using function unions) address most of the `stable` problem? ```ts declare const value: (() => string) | (() => undefined); if (value() !== undefined) { console.log(value().toUpperCase()); }...