MacFJA

Results 108 comments of MacFJA

Vercel fail to deploy the preview, but I have no idea why. @lachlancollins Do you know the reason ? (I have no access to the Vercel logs)

> @MacFJA I can't see either, but I'm wondering if it's not running postinstall? That would cause the build to fail. It was indeed the `postinstall` script. I changed it...

The main issue with the merge of `log` and `stream` it's there is a signature change for `log`. It changes from a synchronous API to an asynchronous API It's nothing...

Another difference, `log` utilities assume that if `message` is an Array ten each element is a line (so it add `\n` at the end of each element). But in `stream`...

Hello, I looked at what Redux Devtools do, And it didn't match with what this library do (which is persisting store value for later use). So I won't implement it...

This library is already supporting Svelte 5. See #59 and version [`2.4.2`](https://github.com/MacFJA/svelte-persistent-store/releases/tag/2.4.2) I use it on some SvelteKit + Svelte5 projects without any issues

**TL;DR** It's possible, but not as neatly as with store. (worst DX than with store) --- Runes are very complicated to customize. Runes are compiler concept that are replaced at...

> What is "DX" that you mentioned a couple of times? **D**eveloper e**X**perience. It's how easy and natural this lib usage is for others developer. The more you have to...

The more I think about it, the more I feel that a Vite plugin (or maybe a Rollup plugin) will be better. We could achieve something like this: ```ts let...

> How would you implement TS type safety? I didn't test this solution at all. But `$state` type declaration is just this: https://github.com/sveltejs/svelte/blob/main/packages/svelte/src/ambient.d.ts#L23 So it would be something like: ```ts...