each
block a specific x
number of times in Svelte? I know of Svelte's [`{#each}`](https://svelte.dev/docs/svelte/each) block which allows you to iterate over arrays or array-likes.
```svelte
<script lang="ts">
let names: string[] = ["bob", "joe", "Frankenstein"];
</script>
{#each names... &str
, String
, AsRef<str>
, or Into<String>
in Rust? I'm developing a public Rust library and I'm unsure how to handle function parameters that deal with strings.
There seem to be multiple idiomatic options:
- `&str`
- `String`
- `impl AsRef<str>`
- `impl Into<String>`
Each of these works i... gap-x
and space-x
in TailwindCSS? I’ve seen both `gap-x/y-*` and `space-x/y-*` used in Tailwind examples to create spacing between elements. What is the actual difference between them? Are they interchangeable, or is one preferable in certain situations?