Cesar
Cesar
NNuxt
Created by Cesar on 7/17/2024 in #❓・help
Repository pattern server side / How to use plugin custom fetch server side ?
No description
5 replies
NNuxt
Created by Scripted Pixels on 6/14/2024 in #❓・help
PrimeVue Warning in console: "could not access `pt`...
This will be fixed in the upcoming .53 version
5 replies
NNuxt
Created by Scripted Pixels on 6/14/2024 in #❓・help
PrimeVue Warning in console: "could not access `pt`...
5 replies
NNuxt
Created by Scripted Pixels on 6/14/2024 in #❓・help
PrimeVue Warning in console: "could not access `pt`...
Hello, I have the same problem, did you find a solution?
5 replies
NNuxt
Created by Chad Fraser on 4/4/2024 in #❓・help
Receiving "JavaScript heap out of memory" when nitro is building. The application built perviously.
Same problem here durint deployment with the latest nuxt version
9 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
A big thank you 🤗
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
wow it works well with this implementation, awesome! I'm going to look into this and try to implement it on a small part of my application!
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
I also tried with useAsyncData and either I got the warning or the first call is only made on the client side I must really be doing something wrong ^^
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
With your proposal I no longer have the warning, however the first call is made on the client side whereas previously it was done on the server side :/
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
Moreover, using the example of the video, I still have my problems with the warnings :/ I updated the stackblitz to show the problem (on button click) https://stackblitz.com/edit/github-pgv3r7?file=app.vue
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
Hello @manniL / TheAlexLichter it's me again 🙂 Thank you again for your video, it’s very interesting! I have a question because in my implementation I also transform the data before returning it. How to do with the implementation so that the returned data is well transformed?
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
No description
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
Yeahhhh
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
Oh great, I can't wait to see this! Hoping to get over this problem very soon 🤗
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
I tried to update the stackblitz to follow your recommendations but I have 2 problems: - The first call is made on the client side, with the old way they were made on the server side - Hydration concerns due to differences https://stackblitz.com/edit/github-pgv3r7?file=composables%2FuseApiFetch.ts,api%2Fbase.ts,app.vue Where did I go wrong ?
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
Okay, I see the idea. I will try to set this up today. I'll tell you what happens 🙂
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
The problem is that if I use $fetch in my wrapper, I will no longer have a call that will be made in SSR? I don't really see how I could use useAsyncData to call the pattern Really thank you for taking the time to answer me
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
Thank you for your feedback, and an additional subscription 😉 Wow I'm going to have to rethink a lot of things to fix this. If I understood correctly, when I need to make a call with immediate rendering (SSR) I must go through the useFetch, in all other cases $fetch ? Would it be okay to pass a boolean to my functions to say to use useFetch or $fetch depending on where the calls are made ?
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
Hello ! I made a repro to illustrate (in a very simplified way the problems following the update) The problem will occurs when you click the button to make another call. I have this kind of case in my application hundreds of times (whether to apply a filter, to make an API call after an action..) I also need to keep my wrapper at useFetch to add my token (here I left it empty but it's to show my archi) Thanks in advance ! https://stackblitz.com/edit/github-pgv3r7?file=app.vue
41 replies
NNuxt
Created by Cesar on 2/5/2024 in #❓・help
Repository pattern warning useFetch with Nuxt 3.10
What do you recommend in very large applications for code sharing at the API call level? (while keeping my custom composable which wrap useFetch to add the token in particular) ? This warning can be disabled ?
41 replies