Create a Server
Build Modern Next 14 Server Side App with Server
Build Modern Next 14 Server Side App with Server Actions, Infinite Scroll & Framer Motion Animations
#Build #Modern #Server #Side #App #Server
“JavaScript Mastery”
Are you curious about Server Actions in Next.js 14? What about infinite scrolling and Framer Motion animations with Next 14? This video will demystify these concepts while building a server-side Next 14 App
π Become a top 1% Next.js 14 developer in only one course:
π Materials/References:
GitHub Code (give it a star β):
Anime API:
π» Join our Discord Community –
π¦ Follow us on Twitter:
πΌοΈ Follow us on Instagram:
πΌ Business Inquiries: contact@jsmastery.pro
Time Stamps π
00:00:00 – Server Actions Crash Course
00:09:32 – Implement Server Actions
00:20:40 – Infinite Scroll in Next 14
00:29:10 – Framer Motion with Next 14
00:38:10 – Summary & Recap
source
To see the full content, share this page by clicking one of the buttons below |
π Become a top 1% Next.js 14 developer in only one course: https://jsmastery.pro/next14
Howdy,
What tools do you use to create your animated presentations?
I think the best backend framework is django, .NET and Java Spring Boot
Can we use it as JSX OR JS also???
13:08 for me Tailwind Fold π
@vercel
37:55 Isn't this a bug? Thumbnails in the two loaded lines will be fadeIn, but opacity starts from 1 in the third line
Really good project for explain the concept! I suggest everyone to use something to take note when watch this kind of video, it's nice to do the project, but it's really important to take note when he explain the concept.
what's the font and color theme of your vs code?
Hi Adrian, thanks for this video.
I am getting this error: Unhandled Runtime Error
Error: Cannot read properties of undefined (reading 'original')
Source
componentsAnimeCard.tsx (25:51) @ original
It seems that image data is missing or undefined, the link is broken.
Live Long Brother.
The only thing i would suggest you is to explain the css files also instead of copying it
prefer like this, under 1 hours, easy to understand, love it β€β€β€β€
Thank you !
Pls tell ur vscode theme looks so good
Well done!
Awesome video. Yes Please make more content of this type which focuses on a single specific feature. it helps to get more in-depth knowledge of that topic. Thank you so much
32:00 can someone explain why didn't he just use "use client" on AnimeCard component?
@Adrian, if you can also come up some basic concept course on Figma design. Around 1 to 2 hours course.
Not able to buy the course from official website???
Hi Thanks for the video !
Info for motion:
To have a server component inside the client component you need to use children props. Something like that:
"use client";
import React from "react";
import { motion } from "framer-motion";
type Props = {
children: React.ReactNode;
className?: string;
};
const variants = {
hidden: { opacity: 0, y: -50 },
visible: {
opacity: 1,
y: 0
},
};
export const MotionDiv = ({ children, className }: Props) => {
return (
<motion.div
variants={variants}
initial="hidden"
animate="visible"
className={className}
>
{children}
</motion.div>
);
};
export default MotionDiv;
//export const MotionDiv = motion.div;
really helpful, i was struggling with infinite scroll functionality
What vscode theme u using?
The shikimori api is having some problems from today ig. It ain't sending an array according to page or other parameters π’
Great video π
Delicious ^^
Merci !
here is the simple code for framer motion,
just add this in your map
const adjustedIndex = index % 20;
– the number 20 is limit data perpage
so you dont need to move the map into actions file
for example, in loadmore component
data.map((series: SeriesCard, index) => {
const adjustedIndex = index % 20;
return (
<MotionDiv
key={series.id}
variants={variants}
initial='hidden'
animate='visible'
transition={{
delay: adjustedIndex * 0.1,
ease: 'easeInOut',
duration: 0.3,
}}
viewport={{ amount: 0 }}
>
<CardMovies data={series} imgWidth={185} />
</MotionDiv>
);
})
sorry my english is bad
These kind of videos are generally more useful
amazing job!
Awesome Project Adrian! I'm 20, Brazilian and starting my career with nextjs on this month, I don't have money for the entire curse yet but I really love to make all this projects with you, I wish I will start my own projects soon, thank you for all! God bless you!
nobody makes me feel motivated to code than this guy on the leadup to the coding, well done
Amazing conten as always..π.
Can someone tell me which file icons and themes Adrian is using.
Your content is very nice , interesting And I love it very muchβ€οΈβ€οΈ
I would like it if you could create courses in Angular or projects using itπβ€οΈ
Very good video!! Looking for more!
I'm following this channel for a year but never completed any single project as mostly get stuck.
but this project completing after Next js also did in react js .
please make a project with internalization in next js
perfect as always….
This makes react-query kind of obsolete, doesn't it?
thank you sir for little project and with greate explanation of cocepts. Sir I have request can you clone apple website with it's all animation in react.js and node.js.
Bro
Yes , pls do more of these videos
Thanks man. Thanks a lot. This type of video is very helpful to explain concepts and facts. So, if its possible, then keep making this type of videos and contents…
really helpful!! please do make this types of videos
Thank you for another tutorial!
I dont understand Only first page that loaded with 8 images is server side rendered other images loaded after scrolling are loaded client side so what the use of the server side render function only for the initial page
I think the biggest problem with Nextjs and Framer Motion is the pages exit effects not working,
Great video! I really enjoyed the content. Your VS Code setup looks fantastic! Could you please share the font and theme you're using? I'm looking to improve my coding environment, and your setup caught my eye. Thanks in advance, and keep up the excellent work !
Many thanks for your tutorials π
Is it correct to say that:
– the fetch on the home page server-component is done at built-time ?
– and then all subsequent fetch from LoadMore client-side component are made at run-time, but not from the client as would do a "traditional" fetch in a React component, but rather on the server, thanks to the "use server" directive in the fetchAnime ("action") file ?
Which is good
Strapi or sanity