---
title: "Comment by Colin Bate on \"Vue vs. Svelte vs. React\" | Hashnode"
description: "Always great to see Svelte getting favorable press. One thing I thought I would mention is that while $$props will work to access properties, it isn&#39;t the o"
url: "https://hashnode.com/posts/vue-vs-svelte-vs-react/61f460926bb59d5767db452c/comment/61fa985843e34d1181697227"
---

[Discussion](https://hashnode.com/posts/vue-vs-svelte-vs-react/61f460926bb59d5767db452c)

Comment [Vue vs. Svelte vs. React](https://hashnode.com/posts/vue-vs-svelte-vs-react/61f460926bb59d5767db452c)

[Colin Bate](https://hashnode.com/@colinbate)

[Feb 2, 2022](https://hashnode.com/posts/vue-vs-svelte-vs-react/61f460926bb59d5767db452c/comment/61fa985843e34d1181697227)

Always great to see Svelte getting favorable press. One thing I thought I would mention is that while `$$props` will work to access properties, it isn't the official way of doing it.

As per the [Svelte docs](https://svelte.dev/docs#component-format-script-1-export-creates-a-component-prop), you want to have something like this in your script block:

```
export let db;
export let q;
```

[JTK](https://hashnode.com/@heyJTK)

[Feb 2, 2022](https://hashnode.com/posts/vue-vs-svelte-vs-react/61f460926bb59d5767db452c/comment/61fa985843e34d1181697227#reply-61faad8043e34d11816975d4)

Yeah definitely took some liberties with conventions to keep parity/simplicity (same for the React example) would not necessarily make the same choices on anything more robust than a Hello World :)
