Matei Trandafir

Results 24 comments of Matei Trandafir

I tried updating to the new codes, and it's not working for 2 main reasons: - IDE support - my IDE (JetBrains) gives me quick actions to add the `svelte-ignore`...

Update: I updated ESLint & its svelte plugin to latest version, they now support the snake_case error IDs. However, it seems like it's not very consistent. It works for _almost...

@valentinpalkovic I don't think this should be closed. The add-on you provided is React only, and right now there's no way to achieve mocking in frameworks that don't use Webpack...

It seems like adding `lang="ts"` to the style tag causes the issue, I cloned your stackblitz, added that and it stops working ([see here)](https://stackblitz.com/edit/github-5qdaww-rnd8wg?file=src%2Fstories%2FBatton.stories.svelte,src%2Fstories%2FButton.svelte). I'm not even using any types...

How about something like: ```ts let { prop = $bindable.required() } ``` Maybe a different name like `$bindable.must`, or even, `$bound` and `$bound.optional`. This would be a pretty massive breaking...

@dummdidumm I'm not exactly sure what you mean. Do you mind checking out the PR and running with the new changes I made? I think that will explain things better....

**Update:** I couldn't sleep so I implemented a version switcher real quick. It allows viewing the docs from the `svelte-4` branch by simply appending `?version=v4` to the URL - check...

To maintain backwards compatibility, how about a new syntax: ```ts // wherever.ts export const MyContext = Context() ``` ```ts // Parent.svelte import MyContext from '...' MyContext.set("123") ``` ```ts // Child.svelte...

Any luck with that? @rafaz182

I think this is a necessary addition. My use case is very simple - I want to read the JSON send by the client and create a response based on...