https://www.youtube.com/c/codinginflow
Unfortunately, it doesn't work when you wrap it into a custom hook
Unfortunately, it doesn't work when you wrap it into a custom hook
They never live up to the hype.
They never live up to the hype.
It's about the millions of people with slow internet speed for whom JavaScript loads slowly.
React has new tools that help progressively enhance your website 👇
It's about the millions of people with slow internet speed for whom JavaScript loads slowly.
React has new tools that help progressively enhance your website 👇
You want to add a shared layout element to some pages in the Next.js app router, but not others. But you don't want to create a nested URL for that.
Solution:
Use route groups to give sibling pages different layouts without changing the URL structure:
You want to add a shared layout element to some pages in the Next.js app router, but not others. But you don't want to create a nested URL for that.
Solution:
Use route groups to give sibling pages different layouts without changing the URL structure:
I want to show a login modal for 401 responses (for any http method)
I want to show a login modal for 401 responses (for any http method)
• implement generateStaticParams to prerender & cache dynamic routes
• if you can't prerender the page, use suspense boundaries
• lazy-load heavy NPM packages client-side with `dynamic`
• use next/Font & next/Image
• implement generateStaticParams to prerender & cache dynamic routes
• if you can't prerender the page, use suspense boundaries
• lazy-load heavy NPM packages client-side with `dynamic`
• use next/Font & next/Image
This can make it tedious to style article pages from scratch. Like blog posts with different headlines, links, paragraphs, etc.
Tip: Install tailwind-prose to get beautiful default styling for your articles 👇
This can make it tedious to style article pages from scratch. Like blog posts with different headlines, links, paragraphs, etc.
Tip: Install tailwind-prose to get beautiful default styling for your articles 👇
Each tab is a page and with staleTimes: 30 they are cached client-side for 30 seconds.
Each tab is a page and with staleTimes: 30 they are cached client-side for 30 seconds.
This naming convention is necessary because hooks are special functions that have to follow certain rules.
This naming convention is necessary because hooks are special functions that have to follow certain rules.
but yet you never useBrain
but yet you never useBrain
Nooothing to worry about
Nooothing to worry about
The language is so bad that it's like being thrown in cold water. After that, it's all uphill.
The language is so bad that it's like being thrown in cold water. After that, it's all uphill.