3 Ways to Make React App FASTER

Поділитися
Вставка
  • Опубліковано 13 січ 2025

КОМЕНТАРІ • 87

  • @anuj7286
    @anuj7286 Рік тому +3

    Thank you piyush i was thinking this video is missing. Great work man!

  • @vaibhav_shanker
    @vaibhav_shanker 10 місяців тому +13

    11:41, you must be using React in StrictMode, in strict mode React renders the application twice, that's why listener is being added twice,
    rendering app on the server, doesn't have anything to do with adding listener on the client side
    any piece of js makes an effect on client when it is executed on the client

  • @Niamudeen
    @Niamudeen Рік тому +1

    Best stuff I learned about React. Your way of explanation is amazing bro. 💪

  • @chinmaysawant1343
    @chinmaysawant1343 Рік тому +3

    Great stuff. One request from my side suppose I’m working as a react developer. What kind of tasks/ stories I’ll get assigned. Talking from a live project perspective. This will help me in interviews

    • @JTtimeCoding
      @JTtimeCoding Рік тому +1

      Debugging, mostly styling issues for a newbie. Then slowly slowly you will be given tasks involving data fetched by API, then custom hooks or API hooks. After that you will start making new base components.

  • @devsDojo
    @devsDojo Рік тому +1

    you just earned a subscriber...very good pattern bro and nicely explained 🔥🔥

  • @csfahad
    @csfahad Рік тому +1

    A guided walkthrough and important features about using appwrite

  • @avknash175
    @avknash175 Рік тому

    Your teaching skill is very smooth and sensational. Thanks 🙏

  • @amanmishra-vt8hk
    @amanmishra-vt8hk 10 місяців тому

    I am looking your channel for the first time and now I subscribed to your channel

  • @aadarshgurug
    @aadarshgurug Рік тому

    Need more videos like this , this was great

  • @MrSaint-ch6xn
    @MrSaint-ch6xn Рік тому

    Right now I was facing the same react taking time to load issue and your video recommended.. informative❤

  • @chaitanyapatel4763
    @chaitanyapatel4763 7 місяців тому

    Very Well explained. Very useful will definitely use that on my current project 🤘🏻

  • @anikettripathi1160
    @anikettripathi1160 10 місяців тому

    Amazing video bhaiya ! 👍

  • @rajatpatialvi
    @rajatpatialvi Рік тому +1

    Great Clarification 🤩🤩

  • @jaydeepmane7845
    @jaydeepmane7845 6 місяців тому

    Great work Man !

  • @________.pathfinder
    @________.pathfinder Рік тому

    Thank you so much man for providing such content..

  • @surajyadav4586
    @surajyadav4586 Рік тому +1

    Great content, you made it easy

  • @ravikumar-gp6ui
    @ravikumar-gp6ui 10 місяців тому +1

    length already take O(n) , why we need to write for loop ?

  • @frankbuzzz
    @frankbuzzz 7 місяців тому +1

    When I continue using my app the app runs fine but when I don't use it for more than 5 minutes it slows down for a minute and then it seems to be running normally as before. I made my app react native. While its backend code is written in codeignitor4, the data from PHP and API is being fetched at the right time for viewing from postman, what is the problem, why is my app getting slow.

  • @sarthijoshi9995
    @sarthijoshi9995 10 місяців тому

    very good explianation, loved your teaching, keep it up. Thanks

  • @Weiredfacts08
    @Weiredfacts08 3 місяці тому

    Sare wahi cheezein batate hain , ek route bna ke dikha dete hain. Baki inko pta nhi hota jab app large ho jati hai

  • @aayushmaantawer285
    @aayushmaantawer285 Рік тому

    Your teaching is soo good. But please complete a playlist before starting the other. Now, we have to surf for full playlists again.

  • @ashishbhatt4821
    @ashishbhatt4821 Рік тому

    As always Effective Video❤

  • @deependu__
    @deependu__ Рік тому

    To the point video. Awesome❤

  • @lovishduggal9064
    @lovishduggal9064 Рік тому

    React under the hood and design patterns, web security, next js, ci / cd pipeline with gitthub actions, caching with redis, testing with playright {je sab topics pr future mai videos jrur bnana bhaiya ji kyu ki je production level pr use hoti hai }

  • @AvradipDas-ss7tm
    @AvradipDas-ss7tm 8 місяців тому

    In the last example , the same result is produced without the useCallback :
    const MyComponent = (props)=>{
    const loadMessage = ()=>{
    console.log("loaded")
    }
    useEffect(()=>{
    console.log(props.state)
    window.addEventListener("load",loadMessage)
    return ()=>{
    window.removeEventListener("load",loadMessage)
    }
    },[props.state,loadMessage])
    return(
    Count is {props.state}
    )
    }
    Can you please explain why this works as well ?

  • @yt_user813
    @yt_user813 5 місяців тому

    Sir ji reactjs me mai posts render kar raha tha to agar image size 2Mb tak pahuch jata hai to jaise hi scroll karte karte us image ke exdam paas aata hu to lag kar jata hai. why? Ye sirf computer screen me hi ho raha hai. mobile screen me smooth chal raha ha. Mera pc bhi capable hai with 16Gb ram and 12400F ulta mobile low end hai usme lag nahi kar raha. Kyo? Bahut paresan su aaj.

  • @varunsalat619
    @varunsalat619 Рік тому +1

    great work bro please make more videos about react-app optimization 😇👏

  • @m-series719
    @m-series719 2 місяці тому

    bro is this playlist is enough for interview?

  • @subhashgn1775
    @subhashgn1775 Рік тому

    Absolute master class...👌👌

  • @saksham_1612
    @saksham_1612 Рік тому

    Amazing stuff ❤

  • @prashlovessamosa
    @prashlovessamosa Рік тому +2

    Hello piyush sir
    one request
    Please make project using socket stuff it would be helpful.

  • @siddharth7261
    @siddharth7261 Рік тому

    Hume largefile daalni chahiye thi na dependency me, taaki jab bhi large file change ho tab hum length dobara check kare

  • @nabinsaud4688
    @nabinsaud4688 Рік тому

    By using the vite for faster and rapid development

  • @anonymous_basics
    @anonymous_basics 3 місяці тому

    such a great explainnation. love your vids

  • @mannanjaffery
    @mannanjaffery 4 місяці тому

    my laptop heats up when I use REACT even though it is good , what should I do

  • @jeetsikder5912
    @jeetsikder5912 Рік тому

    Awesom video bro and whitch vs code theam you are using?

  • @Rehmaan.
    @Rehmaan. Рік тому

    Which theme are you using in vs code?

  • @julio.canezin
    @julio.canezin 5 місяців тому

    to make node faster change it to php swoole rs. Benchmark reach 5x faster...

  • @vashishtsuryawanshi149
    @vashishtsuryawanshi149 Рік тому

    Hi piyush sir,
    one request,
    Please make series on React Native.

  • @Sandeep-zd6dq
    @Sandeep-zd6dq Рік тому

    Why event listeners is even registered one time if we are cleaning it, how it remain there 😅

    • @TanvirAnjum0
      @TanvirAnjum0 7 місяців тому

      Because he used useCallback hook.Which help the browser to cache the function even though he removed it

  • @Ahmad-vm9pb
    @Ahmad-vm9pb 4 місяці тому

    amazing!!!

  • @chandansingh-sb3il
    @chandansingh-sb3il Рік тому

    build size reduce karne ka tumara koi video hai kya

  • @singhkr
    @singhkr 5 місяців тому

    great video sir

  • @iamsouravganguli
    @iamsouravganguli Рік тому

    Thank you bro❤

  • @vikashgurjar4913
    @vikashgurjar4913 8 місяців тому

    Lovely bhai🤩🧐😇

  • @Pupu-xr1ju
    @Pupu-xr1ju 11 місяців тому

    Please any who knows
    Kiya kisi component ko bhi memories kiya jasakta hai?

    • @vaibhav_shanker
      @vaibhav_shanker 10 місяців тому

      yaha bhai ne calculation ko memoize kiya h, Component ko nahi
      or question hai apka k kisi bhi component ko memoize kar sakte hain to uska answer h, Haa
      but memoize ka kaam h jab tak props change nahi honge component k tab tak component ko re-render nahi karega,
      but along side you will definitely face a scenario jaha aapne saare props thik se use kare honge pr handler me sidha sidha function pass kar doge as prop
      waha memoize, ka effect khatam hota dikhayi dega,
      but dont worry, this will be the time, when you should learn about useCallback hook

  • @shubhamgupta-bl1tr
    @shubhamgupta-bl1tr Рік тому

    Need such more tutorials

  • @talibhusain3335
    @talibhusain3335 Рік тому

    Bhai ese optimization ki dusri video bhi banao naa

  • @lovebite1987
    @lovebite1987 3 місяці тому

    very useful video

  • @yashendrabadal4776
    @yashendrabadal4776 6 місяців тому +2

    The Three Optimizations are as follows:-
    1. For Components that are bulky instead of importing them directly what you can do is you can use lazy loading and you can wrap that Heavy Component around the Suspense Component.
    2. You can use useMemo hook in order to memoize heavy calculations in order to improve the complexity on re renders
    3. CLeaup in use effect.

  • @Vinod_SinghRj36
    @Vinod_SinghRj36 Рік тому

    Usefull information

  • @vineetsingh904
    @vineetsingh904 11 місяців тому

    amazing content

  • @aviruppaul4473
    @aviruppaul4473 Рік тому

    Aaj open source contribution pe live class ayega

  • @iamakashkumarram
    @iamakashkumarram Рік тому

    Sir postgraceSQL and GraphQL ke upar full course laiye.

  • @testaccount9420
    @testaccount9420 Рік тому

    Thanks ❤

  • @udayasishbora2089
    @udayasishbora2089 Рік тому

    Nice concepts

  • @BasharatAliSiddiqui
    @BasharatAliSiddiqui 4 місяці тому

    please make videos on vite

  • @RohitSaini-xh3ll
    @RohitSaini-xh3ll 7 місяців тому +1

    Everything is good except "TUM", agreed?

  • @jitumaurya13
    @jitumaurya13 8 місяців тому

    thanks sir best teachar

  • @ashish99311
    @ashish99311 Рік тому

    thank you

  • @scroll_with_vaibhav0
    @scroll_with_vaibhav0 Рік тому

    source code

  • @ankushladani496
    @ankushladani496 Рік тому +1

    ❤❤ NICE VIDEO ❤❤

  • @debjyotimondal270
    @debjyotimondal270 Рік тому

    Helpful

  • @UsmanCodeLab
    @UsmanCodeLab Рік тому

    Sir start
    =×Prisma
    =×Graphql
    =×story books
    please😢

  • @howTo_79
    @howTo_79 10 місяців тому

    memoize*

  • @Tareq0025
    @Tareq0025 Рік тому

    Super🎉

  • @pez5491
    @pez5491 11 місяців тому

    What language is this in? xD

  • @polymath-403
    @polymath-403 Рік тому

    Maannn This is Super cool ❤‍🔥

  • @pradeepkumar-em5re
    @pradeepkumar-em5re Рік тому

    Sir also make videos on rendering mern project on cyclic vs vercel vs render and how to solve issues while getting error due to deployment
    _________________++++++++++_____________________________________

  • @dipeshmishra153
    @dipeshmishra153 7 місяців тому

    Amazingg

  • @prashlovessamosa
    @prashlovessamosa Рік тому

    FIRST 🥇

  • @danieltkach2330
    @danieltkach2330 3 місяці тому

    W-T-F why do you go back and forth from two languages like that? horrible presentation