Dav3rs

Results 21 comments of Dav3rs

By default ```vue const story = await useAsyncStoryblok('home', { version: 'draft' }) ``` On Thursday I was on the tutorial and receiving a lot of errors I give up. Then...

Hey @k16e-me try adding this and let's see, maybe the default value for it is too low, and that's why it works randomly, maybe it is affected by the server...

It would be good to be able to deactivate the shim functionality not only on nextjs, with an option in the config object ```ts export default defineConfig({ shim: false })...

useLoading is not for data fetching, but for traking the loading state of any async function, the returned function can be hooked again in the component tree level. Like this:...

Currently using this approach, because it stucked loading forever on errors. ```ts export default function useLoading Promise>(f: F): [F, boolean] { const [loading, setLoading] = useState(false); const _f = useMemoizedFn(async...

Didn't know, but it is still looking to much verbose to rename variables and the word "request" in places where maybe there are not requests. But good to know.

@manuelschroederdev This is a huge flaw of the astro integration, it should be prioritized don't you think so?

It seems that this problem is currently solved. https://github.com/withastro/roadmap/discussions/1054#discussioncomment-12527451 @dipankarmaikap @moritzlaube