NextJS 14 Trick I bet you didn't Know 🤯

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

ความคิดเห็น • 45

  • @itzaxen
    @itzaxen 11 หลายเดือนก่อน +1

    That's what I want to learn.
    Thank you bro. Mai 3 days se ye issue me fasa hua tha. Mujhe 1 server component banana tha Jo client pe render ho aur uske baad uspe client component dom manipulation kar paye.

  • @thisishabib744
    @thisishabib744 ปีที่แล้ว

    Very useful video. Tnx bro 🇧🇩❤

  • @sumitsahu8657
    @sumitsahu8657 ปีที่แล้ว +1

    Hello Piyush, I'm currently working on a company project. Could you please create a video discussing the best practices for API integration? Specifically, I'm interested in understanding the pros and cons of making a direct database call versus creating APIs in a separate file. I would appreciate insights into the best and standard practices in this regard.

  • @europeanandasian9463
    @europeanandasian9463 ปีที่แล้ว

    Bro thanks your way of teaching is great

  • @abdussamad0348
    @abdussamad0348 ปีที่แล้ว

    I also did this in twitter clone course, this thing is also mentioned in next.js documentation..

  • @AshishKumar-ft6wv
    @AshishKumar-ft6wv 11 หลายเดือนก่อน

    Gajab! Nice Nice Nice

  • @DeveloperZenid
    @DeveloperZenid ปีที่แล้ว +1

    hi sir, you're content is really great and explain every aspect . i have a request can you make a video on how to auto generate the SWAGGER docs with joi validation and route endpoints in NODEJS. it will be very helpfull sir 🙂. I hope you definitely make video on it .

  • @entrepreneurcoder2659
    @entrepreneurcoder2659 ปีที่แล้ว

    Hey piyush keep bringing more such videos

  • @abhishekvishwakarma9045
    @abhishekvishwakarma9045 ปีที่แล้ว

    Great video! 🔥 Actually, I made a tweet about the same problem, and it took me some time to figure out the solution, which is exactly what you mentioned in the video.

  • @conceptresearch2002
    @conceptresearch2002 11 หลายเดือนก่อน

    You are working great🔥But you should have shown the same about client component under server component. Plz make a video on this topic

  • @S4LTYT
    @S4LTYT ปีที่แล้ว

    Can we wrap both welcome and data component with server parant component ? so there will be mixter of parent and child component by using or not "use client" ?

  • @pankajdixit125
    @pankajdixit125 11 หลายเดือนก่อน

    Can you elaborate how we can use redux with next js

  • @Shyam_Mahanta
    @Shyam_Mahanta ปีที่แล้ว

    Great video 📷

  • @acchpankaj
    @acchpankaj 6 หลายเดือนก่อน

    sir, i have written fetch api code in server side. now I want to use same api for search based on any parameter. how to do in server side component in next 14. Could you please suggest.

  • @S--xc4rv
    @S--xc4rv ปีที่แล้ว

    Always curious about this topic , thanku for such a clear video . Though what if there is a nested children , will it be a good method also ?

  • @GauravKumar-w5q9q
    @GauravKumar-w5q9q 10 หลายเดือนก่อน

    Why in first approach you can still see the data in view page source ?

  • @rameshkhan3469
    @rameshkhan3469 7 หลายเดือนก่อน

    Any coupon code available for the course?

  • @pranshubasak8796
    @pranshubasak8796 ปีที่แล้ว

    Hi sir , apka course Master NextJS 14 Codedamn me kab ayega , codedamn really need an updated course on next js .

  • @JamesBond-mc7kl
    @JamesBond-mc7kl ปีที่แล้ว

    Could you please make a video on protected pages in next js with redux toolkit

  • @plbxwoofzoo6883
    @plbxwoofzoo6883 ปีที่แล้ว +1

    I have a doubt !!! What if instead of changing count in the client comp , the data inside the todo (server) component changes... How could this be implemented without using context.??? helppppp

  • @ChiragKachhadiya-n7h
    @ChiragKachhadiya-n7h 7 หลายเดือนก่อน +1

    Hiii,
    please create a video on best tips and trick for Next JS project ,
    👇 Vote for this

  • @Shyam_Mahanta
    @Shyam_Mahanta ปีที่แล้ว

    Is there any discount?

  • @plbxwoofzoo6883
    @plbxwoofzoo6883 ปีที่แล้ว +1

    I am in the 5min in this vid , i can guess that we can solve this by wrapping server component inside client component . I did it before while i was doing FullStack twitter clone since i followed App version of the next js....

  • @babunandanagrahari717
    @babunandanagrahari717 ปีที่แล้ว

    Best way thanks

  • @SHERSHAAH555
    @SHERSHAAH555 11 หลายเดือนก่อน

    bro i purchased ur next js couse and now that page isnt available

    • @piyushgargdev
      @piyushgargdev  11 หลายเดือนก่อน

      Hi, Sorry for the inconvenience. Today AWS is down. It will be up once aws is up and running

    • @SHERSHAAH555
      @SHERSHAAH555 11 หลายเดือนก่อน

      @@piyushgargdev ohh ok sure np

    • @piyushgargdev
      @piyushgargdev  11 หลายเดือนก่อน

      @@SHERSHAAH555 Issue resolved! Thanks for your patience 😄

  • @sudityashrivastav
    @sudityashrivastav ปีที่แล้ว +2

    How will show something like skeleton while server component is fetching data... The whole page gets busted 🙄

    • @Zer0.
      @Zer0. ปีที่แล้ว

      Wrap the server component in Suspense

  • @urstrulypriyankrai
    @urstrulypriyankrai ปีที่แล้ว

    Is this the same behaviour after building the project

  • @rahees_ahmed
    @rahees_ahmed ปีที่แล้ว

    Bahi kuch din phely tu ny hi video bnai the k nextjs bekaar hy php ki tarah hy r ak phr new video?

  • @priyanshugupta9816
    @priyanshugupta9816 ปีที่แล้ว

    I know this. This was present before also before server action.

  • @rishiraj2548
    @rishiraj2548 ปีที่แล้ว

    👍💯💯

  • @Sunil-e1d6b
    @Sunil-e1d6b ปีที่แล้ว

    Hey I want to ask you a topic if you could help me out when I search in linked in node js job related there they required relational data base and they did not mention by using orm like prisma or sequalizer or by pure SQL query ,in orm they provide there syntax what should I learn

  • @graphicccccc
    @graphicccccc ปีที่แล้ว

    That’s a catch

  • @sushieatingcobra
    @sushieatingcobra ปีที่แล้ว +1

    please a make detailed paid course on AWS and its servvices like S3 Lambada ECS EC2 Eks Fargate elastci bean which covers all these and AWS ecosystem as a whole

  • @SHERSHAAH555
    @SHERSHAAH555 ปีที่แล้ว

    Corse Hindi me hai na ?

  • @codenerd7823
    @codenerd7823 ปีที่แล้ว

    Pls create a video about your VS Code themes and extension.
    I really liked it.

  • @doctoronline461
    @doctoronline461 9 หลายเดือนก่อน

    free kardo a series piyus please

  • @laughAFrame
    @laughAFrame ปีที่แล้ว

    Next.js ssr is so annoying. It doesn't work with a lot Npm libraries like Charts, Calendars , schedulers. I was working with a dashboard that had to have a Scheduler like GOOGLE SCHEDULER etc. I tried using REACT BIG CALENDAR, but a lot of function related to big calendar didn't work cos of SSR. I tried using dynamic import but still didn't work.
    Next.js is good for project like small web apps like social media apps, Ecommerce etc. It's not good for management systems.

    • @sumitsahu8657
      @sumitsahu8657 ปีที่แล้ว

      then why didn't you use "use client" for that particular component

    • @laughAFrame
      @laughAFrame ปีที่แล้ว

      @@sumitsahu8657 use client does not work on it.

  • @MdNajmulHossen-t3t
    @MdNajmulHossen-t3t ปีที่แล้ว

    dada don't have any international card. Free dedoo😊😉

  • @yogita868
    @yogita868 9 หลายเดือนก่อน

    I have this created this file structure in Next js version ->14
    project\[[id]]
    Inside page.tsx I have this code->
    'use client';
    import PathwayContainer from '@/components/Pathways/PathwayContainer';
    const PathwayPage = () => {
    const clientID = '06375fa6-999a-46a8-9d80-12e41e76aa52';
    return (
    );
    };
    export default PathwayPage;
    This clienID I would fetch from useselector later as of now i keep code like this.
    and this is the component for PathwayContainer.
    'use client';
    interface IPathwayContainerProps {
    fetchClientProjects: (clientId: string) => Promise;
    clientID: string;
    }
    const PathwayContainer: FunctionComponent = (props) => {
    const {
    fetchClientProjects,
    clientID,
    } = props;
    const [loading, setLoading] = useState(false);
    const [activeProjectList, setActiveProjectList] = useState([])
    useEffect(() => {
    const getActiveProjectList = async () => {
    try {
    setLoading(true);
    const projectInfo = await fetchClientProjects(clientID);
    setActiveProjectList(projectInfo);
    }
    catch {
    }
    finally {
    setLoading(false);
    }
    }
    getActiveProjectList();
    }, [clientID])
    return (
    {activeProjectList.map((activeProject, index) => (

    {activeProject.name}

    ))}

    );
    };
    export default connect(() => ({}), {
    fetchClientProjects: actions.clients.fetchClientProjects,
    })(PathwayContainer);
    whevaver user clcik on this link which i have crated using clientID is not changed but my useeffect code runs again and again whenver user click on links. same code works fine in react. How can i solve this issue.please help.