On stores - init and set await to get some more data

This initializes the store with an empty array and then, once the question data is fetched, asynchronously sets the data as the store’s value

import { readable } from "svelte/store"
export const questionStore = readable([], set => getQuestionData(set))

const getQuestionData = (set) => {
  const url =
	.then(res => res.json())
	.then(data => set(data.results))


pnpm init --yes @svelte-add/[email protected] my-new-svelte-app -- --with tailwindcss+typescript+mdsvex 


Is a very very nice