grandpaK420
grandpaK420
Explore posts from servers
TTCTheo's Typesafe Cult
Created by grandpaK420 on 10/28/2023 in #questions
Error in Next.js Caused by Middlware
I ran into the same problem this GitHub issue pointed out: https://github.com/vercel/next.js/issues/56368 And I can't get it to work based on the comments. Anyone can help please?
1 replies
TTCTheo's Typesafe Cult
Created by grandpaK420 on 7/19/2023 in #questions
ZOD
4 replies
TTCTheo's Typesafe Cult
Created by grandpaK420 on 1/9/2023 in #questions
TimeZone issue
2 replies
TTCTheo's Typesafe Cult
Created by grandpaK420 on 12/2/2022 in #questions
Framer Motion useInView()
const introContainerRef = useRef<HTMLDivElement>(null);
const introContainerRef = useRef<HTMLDivElement>(null);
const introContainerInView = useInView(introContainerRef, {
margin: "100px 0px 0px 0px",
});
const introContainerInView = useInView(introContainerRef, {
margin: "100px 0px 0px 0px",
});
any idea why this is not adding 100px of margin until the introContainerInView will become true?
1 replies
TTCTheo's Typesafe Cult
Created by grandpaK420 on 11/27/2022 in #questions
Two Columns Grid Design
21 replies
TTCTheo's Typesafe Cult
Created by grandpaK420 on 11/24/2022 in #questions
Next JS Image Warning
I was getting this warning while using next/image
Image with src "<image_src>" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.
Image with src "<image_src>" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.
and when I add the priority prop to the <Image /> component I get this warning..
The resource http://localhost:3000/_next/image?url=%2F<image_src>&w=384&q=75 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource http://localhost:3000/_next/image?url=%2F<image_src>&w=384&q=75 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
Any tip on how I can fix this warning? Thanks 🙂
5 replies