Ulrich-Matthias Schäfer

Results 579 comments of Ulrich-Matthias Schäfer

Vite uses esbuild to prebundle dependencies and to transpire code on the fly in dev mode. Esbuild does not parse type information. Therefore typescript-is can't work there. You would need...

I think there is a competitor to this lib that is doing it as build process. It has its own gotchas but it would work I guess. Also: the rust...

Lib: https://github.com/rhys-vdw/ts-auto-guard Ofc webpack can do it. So can roll up. They both use typescript under the hood to accomplish that. But as esbuild made painfully clear: build tools ate...

@brillout i am sure you would totally feel the difference. There is a reason why vite is a bliss to use. But ofc there is no other reason not to...

> same error when trying to use i18n in plain js(outside component) with const { t } = i18n.global Same here

This would not only allow for testing. It also would enable the server to serve as a peer. So you can catch video streams from the browser and do stuff...

Interesting approach. But it becomes more complicated when you dont have access to the dom ref because the target is in some different component. How would you go about that?

@unbyte so you basically pass (or import) useThisRef to the components which define it and which uses it as target. Is that correct? (so in easy terms you pass around...

@kadiryazici the example @unbyte provided is a good solution. It maybe looks a bit complicated but it boils down to: - create a reference somewhere and fill it with the...

> Actually $GLOBALS['TL_BODY'] is not even an array. I var_dumped it - its null. > ``` php > $GLOBALS['TL_BODY'][] = ''; > ``` Thats how I did it. Script is...