Valter Kraemer
Valter Kraemer
I proposed a different Component selector approach in https://github.com/sveltejs/svelte/issues/6972#issuecomment-1277463898, and even created a POC svelte-preprocessor that allows you to use the approach today! 😄
> This is to be expected. Runes are designed to read dependencies sync only – and given the browser has no native way to track async context (yet), this isn't...
> @valterkraemer What if you call a function from a random npm module? The compiler is limited in context. I was thinking just the variables used inside of the `$derived`...
I ran into the same issue today. Also seems to be an issue only when the value is over 100 😅 Tested on Safari, Chrome and Firefox. Here is a...
I got it working by downgrading to npm 2, that uses a different folder structure for node_modules as @aeirola said. ``` npm i -g npm@2 // remove node_modules npm i...
Working on a preprocessor written in TypeScript. Cannot import it in `svelte.config.js` but a hacky workaround for me is importing it in `vite.config.ts` and make it global, then accessing it...
Thanks @dominikg, was looking for a good reference implementation for a preprocessor! The hack works decently because I only call it if it exist (now updated in earlier comment). For...
*EDIT: Changed my mind, I don't like this approach anymore 😅* Tried skimming through all "style child component"-discussions, and didn't see a proposal like the following. There are already sooo...
Updating to 3.1.2 fixed it for me!
I have been working on my own implementation of a Firebase plugin for Mavo https://github.com/valterkraemer/mavo-firebase, it's still work in progress, but works quite nicely. You can also check out https://github.com/valterkraemer/mavo-offline-interceptor...