Fabian B.
Explore posts from serversDTDrizzle Team
•Created by PapaFinn on 7/10/2024 in #help
Inner joining and left joining the same table (aliased) causes the return type to be never
Having the exact same error! Did you find a solution for it? It seems that it does work in runtime, so the sql is generated correctly, but the types are
never[]
.
I fixed it by just leftJoin
ing both aliases.16 replies
Does anyone know if @canplaythrough is still a valid listener to use on a `<video /> ` element?
Yeah I see, unfortunately, there is no native way of lazy loading videos. But you could add a short script that listens to the scroll event and when the video is inside the video, start rendering it.
8 replies
Does anyone know if @canplaythrough is still a valid listener to use on a `<video /> ` element?
Hi there! From your implementation, it looks like the video can never start to load, because you do not render it (isLoading is true on component load).
8 replies
Intercepting Routes
Hey there! You can do this with nested routes:
https://nuxt.com/docs/guide/directory-structure/pages#nested-routes
The way it works is you have a parent page component that is displayed when the modal is closed. (in your case
/
).
Then, when navigating to /modal
, the child route gets loaded, which could open the modal.3 replies