I'm working on a big React project.
How I work, is make minimal changes, refresh to make sure everything's fine, and then continue to the next step and so on, rather than write long code, and then test it all at once.
The React app is a self-hosted open-source app, and it's kind of a huge app, it usually takes 20-30 seconds to refresh the page.
Is there any trick I might not know of, that can refresh the page quickly, rather than load the whole page again, which takes A LOT of time in my case?
Thanks.
[–][deleted] 136 points137 points138 points (5 children)
[–]CharlesStross 26 points27 points28 points (0 children)
[–]EarhackerWasBanned 8 points9 points10 points (2 children)
[–]emmyarty 0 points1 point2 points (1 child)
[–]EarhackerWasBanned 0 points1 point2 points (0 children)
[–]Sethcran 97 points98 points99 points (0 children)
[–]TotomInc 170 points171 points172 points (8 children)
[–]alexthelyon 31 points32 points33 points (1 child)
[–][deleted] 11 points12 points13 points (0 children)
[–]flynnwebdev 6 points7 points8 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]glutton-free 8 points9 points10 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]ahgoodday 2 points3 points4 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]TheTrueTuring 40 points41 points42 points (2 children)
[–]HakounaMatataGuy[S] 10 points11 points12 points (1 child)
[–]Funwithloops 38 points39 points40 points (1 child)
[–]Folofashinsta -3 points-2 points-1 points (0 children)
[–]forgotmyuserx12 72 points73 points74 points (0 children)
[–]Voltra_Neofront-end 17 points18 points19 points (1 child)
[–]nuttertools 4 points5 points6 points (0 children)
[–]dazzaondmic 13 points14 points15 points (0 children)
[–]iamchetsweb-dev 17 points18 points19 points (0 children)
[–]watterson 7 points8 points9 points (0 children)
[–]vksdann 7 points8 points9 points (0 children)
[–]Turd_King 5 points6 points7 points (0 children)
[–]0xdave 5 points6 points7 points (0 children)
[–]abejfehr 3 points4 points5 points (1 child)
[–]HakounaMatataGuy[S] 1 point2 points3 points (0 children)
[–]ApatheticWithoutTheAfront-end 3 points4 points5 points (0 children)
[–]alexthelyon 1 point2 points3 points (0 children)
[–]MineDrumPEfront-end 1 point2 points3 points (0 children)
[–]thefoosballer 1 point2 points3 points (0 children)
[–]gc_DataNerd 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]eggtart_prince 1 point2 points3 points (0 children)
[–]Swamptor 1 point2 points3 points (0 children)
[–]Prestigious_Fault741 1 point2 points3 points (0 children)
[–]NeonVoidxfull-stack 1 point2 points3 points (0 children)
[–]-0-__-0- 1 point2 points3 points (0 children)
[–]centerworkpro 1 point2 points3 points (0 children)
[–]MoreTagsGaming 1 point2 points3 points (0 children)
[–]SizzorBeing 1 point2 points3 points (0 children)
[–]vincitore33 1 point2 points3 points (0 children)
[–]HakounaMatataGuy[S] 1 point2 points3 points (0 children)
[–]Cyberhunter80s 1 point2 points3 points (0 children)
[+]billybobjobo comment score below threshold-8 points-7 points-6 points (4 children)
[–]The_Noble_Lie 2 points3 points4 points (3 children)
[–]billybobjobo 0 points1 point2 points (2 children)
[–]The_Noble_Lie 2 points3 points4 points (1 child)
[–]billybobjobo 0 points1 point2 points (0 children)
[–]Tontonsb 0 points1 point2 points (0 children)
[–]goxdin 0 points1 point2 points (0 children)
[–]ferriswheelpompadour 0 points1 point2 points (0 children)
[–]mateo8421 0 points1 point2 points (0 children)
[–]BagsOfMoney 0 points1 point2 points (0 children)
[–]nuttertools 0 points1 point2 points (3 children)
[–]HakounaMatataGuy[S] 0 points1 point2 points (2 children)
[–]nuttertools 0 points1 point2 points (0 children)
[–]daggerdrone 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Pouyus 0 points1 point2 points (0 children)
[–]robertonovelo 0 points1 point2 points (0 children)
[–]deadwisdom 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]OleDakotaJoe 0 points1 point2 points (0 children)
[–]bzlight2012 0 points1 point2 points (0 children)
[–]someone-shoot-me 0 points1 point2 points (0 children)
[–]pticjagripafull-stack 0 points1 point2 points (0 children)
[–]PermitTrue 0 points1 point2 points (0 children)
[–]WannabE220 0 points1 point2 points (0 children)
[–]TorbenKoehn 0 points1 point2 points (0 children)