Patrity
Not fetching Supabase data
this function is loaded multiple times each time the component is loaded, unique key is computed depending on what it is looking up from the props. Each of the dropdowns from the video loads the same component and if the key is not unique, the asyncdata overwrites the other open components
20 replies
Not fetching Supabase data
It works on the initial load and returns fine until I switch pages, the supabase call is awaited and then a couple lines down I return the data.. This happens on every page of my application, for every data fetch. As you can see in the recording
console.log("Fetched iwpSchedData")
is also never printed after I change tabs, along with the other log. It's like its getting to the supabase call and just sitting there, never actually making the call and it only happens when I switch tabs..20 replies
Understanding best practices for SSR + CMS setups
I'm going to leave this for someone hopefully more versed to tackle, but I really dont think this is necessary since itll only update if there are changes needed, so if you are still serving the same data from the backend, it wont update and its still rendered from the server. I guess I just don't understand why you are trying to accomplish this. Best of luck!
19 replies