Commit Graph

20 Commits

Author SHA1 Message Date
Daniel Roe
ee75b48526
refactor(nuxt): use relative imports into composables (#7487) 2022-09-14 11:22:03 +02:00
Alex Kozack
6b3a1a4256
feat(nuxt): filter support for clearNuxtData (#7323) 2022-09-07 15:25:37 +02:00
Alex Kozack
b2f573f685
feat(nuxt): add clearNuxtData (#5227)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 13:20:09 +02:00
Vl4dimyr
fc2be9ed42
feat(nuxt): add immediate option for useAsyncData and useFetch (#5500)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 11:47:40 +02:00
pooya parsa
afc9d9bfc8
perf(nuxt): tree-shake asyncData client logic from server (#7056)
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:48:26 +02:00
pooya parsa
5a17458af5
fix(nuxt): use shared state for asyncData (#7055)
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:34:09 +02:00
Anthony Fu
9db2229f70
refactor: enable strict type checking everywhere (#6943) 2022-08-26 17:47:29 +02:00
Daniel Roe
403e0e6e6d
fix(nuxt): lazy composables shouldn't block setup in ssr: false (#6901) 2022-08-24 21:05:28 +02:00
Daniel Roe
33e7fc1752
fix(nuxt): don't set asyncData to existing payload on CSR if initialCache is disabled (#6640) 2022-08-15 15:55:46 +02:00
Anthony Fu
f350a70775
refactor(nuxt): enable strict type checking (#6368)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-12 19:47:58 +02:00
Daniel Roe
5232c1b5b4
fix(nuxt): immediately call asyncData handler (#6472) 2022-08-09 23:48:48 +02:00
YuTin Liu
03cd6717ce
fix(nuxt): handle immediate errors when calling useAsyncData (#6441) 2022-08-09 10:01:25 +02:00
Daniel Roe
23546a270c
feat(nuxt): automatically generate unique keys for keyed composables (#4955)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-07 18:26:04 +02:00
Pooya Parsa
8d2f805770 fix(nuxt): handle undefined when applying defaults for useAsyncData
issue appeared as a regression of #5660
2022-07-07 00:12:31 +02:00
Anthony Fu
eafd92c457
fix(types): tidy types for useAsyncData (#5340) 2022-06-08 21:45:12 +02:00
Daniel Roe
87c62513fa
fix(nuxt): await asyncData if ssr: false (#4791) 2022-05-06 13:04:01 +02:00
Alex Liu
eb903bd66e
fix(nuxt3): improve error types for useAsyncData and useFetch (#4210)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-29 20:42:22 +02:00
Anthony Fu
256df28124
chore: enable typecheck ci for packages (#4664) 2022-04-29 11:38:22 +02:00
Daniel Roe
7e912e7bf4
fix(nuxt): warn to provide a key for useFetch with transform option (#4590) 2022-04-27 18:19:10 +02:00
pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt (#4449) 2022-04-20 10:52:39 +02:00