10 Rendering Patterns for Web Apps

  Рет қаралды 318,841

Beyond Fireship

Beyond Fireship

Күн бұрын

Learn about 10 different ways you can render a website to HTML with patterns like SSR, SSG, ISR, Partial Hydration, and More!
#webdevelopment #javascript #top10
Upgrade to PRO for full courses fireship.io/pro

Пікірлер: 417
@thelukemccrea
@thelukemccrea Жыл бұрын
And the best part is the moment you choose one, something new comes out and you get to learn that instead!
@LetrixAR
@LetrixAR Жыл бұрын
Just like anything in JS
@anarcus
@anarcus Жыл бұрын
Tip: don't learn it.
@codesymphony
@codesymphony Жыл бұрын
just use next
@thevishvammoliya
@thevishvammoliya Жыл бұрын
Thats why developers earn more than other professionals...
@jasontruter7239
@jasontruter7239 Жыл бұрын
Moved to next 13 then 1 week later to solid lol
@drbracewell
@drbracewell Жыл бұрын
This is an insanely useful video, it can be super hard to find out information about all of all of these patterns (especially when each framework is trying to push how great and perfect their particular approach is). Everything here is clearly explained alongside benefits and drawbacks, thanks for the amazing video Jeff!
@theninjascientist689
@theninjascientist689 Жыл бұрын
It's so difficult trying to find accurate information about new technologies when the only people talking about them are trying to sell them to you.
@Derik.
@Derik. Жыл бұрын
0:00 Preamble 0:37 Static Website 1:09 Multi Page Apps 1:51 Single page App 2:45 Server-Side Rendering with Hydration 3:23 Static Site Generation with Hydration 3:54 Incremental Static Regeneration 4:46 Partial Hydration 5:12 Islands 5:44 Streaming SSR 6:12 Resumability
@yannickleroy7419
@yannickleroy7419 Жыл бұрын
coolcool!
@ohpool
@ohpool Жыл бұрын
The dedication
@foxxo-dev
@foxxo-dev Жыл бұрын
@michaeljoseph7010 yep
@tomasma4896
@tomasma4896 Жыл бұрын
Doing web dev for 15 years but this is quite insane. I think it took less effort to send a human being to the Moon that inventing all of these super cool frameworks and patterns that are solving quite simple task - rendering a content to the end user :) There are certainly a projects that can benefit from these but I think overall it is over engineered AF :) But anyway it is alway interesting to lear something new :)
@SpaghettiRealm
@SpaghettiRealm Жыл бұрын
Seems like creating a problem for the solution
@Almighty_Flat_Earth
@Almighty_Flat_Earth Жыл бұрын
No one has ever broken the glass dome that God has put above this flat earth. It's about 100 km in distance from the ground. Let alone going to the moon. Moon and sun are plasmas and are same size, those are not solid balls. Of course, moon landing was a Hollywood movie.
@Almighty_Flat_Earth
@Almighty_Flat_Earth Жыл бұрын
@@SpaghettiRealm Creating virus to sell anti virus.
@freireag
@freireag Жыл бұрын
I don’t think it’s over engineered, they’re great tools for specific use cases. The problem is, people want to use them for everything, even for simple projects or projects where the simpler solution would solve the issue without the extra complexity. Lots of devs want the best performance and use experience all the time, they need to better assess the prerequisites.
@freireag
@freireag Жыл бұрын
I do think though we don’t have yet a great solution, a simple and elegant one, part of that is JavaScript. Svelte is a a good way, thinking about reactivity and stores, but it’s a JS superset, a workaround. The browsers should have a programming language thought for the modern web.
@codewithguillaume
@codewithguillaume Жыл бұрын
I didn’t even know there was 10 rendering patterns possible hahah
@perc-ai
@perc-ai Жыл бұрын
there isn't he doesnt even know what hes talking about he confused SPA/MPA being a rendering pattern... wtf
@masterflitzer
@masterflitzer Жыл бұрын
@@perc-ai what is spa when not a rendering pattern? spa's use client side rendering and mpa use server side rendering so you mean CSR/SSR are the rendering patterns or what exactly?
@deidyomega
@deidyomega Жыл бұрын
@@perc-ai SPA is a rendering pattern? I remember when I was in college and every site was built with php, and the concept of rendering the templates in the client was ground breaking.
@flamakespark
@flamakespark Жыл бұрын
I've noticed that in fullstack development all complexity shifted from backend to frontend. Back in the days on a backend you had to do a server (cluster) setup, optimization, caching and using Linux; while on a frontend you cared only about fetching and displaying data. Now you can just use serverless and forget about infrastructure, while on a frontend you have to think about how to deliver content to end user as fast as possible: picking a correct rendering pattern, code optimization, lazy loading e.t.c.
@ancellery6430
@ancellery6430 Жыл бұрын
the thing with front end is that its more a matter of just finding the right premade components and putting them together. In general coding will become easier and easier as time passes. It will still be just as big of an industry though, if not bigger, so I imagine that the top engineers that are creating the architecture and integration will be in very high demand.
@ra2enjoyer708
@ra2enjoyer708 Жыл бұрын
Serverless is all fine and dandy until you have to write imperative caching procedures inside a yaml config.
@przemysawwozniak2520
@przemysawwozniak2520 Жыл бұрын
@@ra2enjoyer708 Or you have to redeploy your app and split stacks into nested because AWS doesn't support more than 500 resources and you wouldn't guess that one API method with 2 path params creates 10 resources :D
@dabbopabblo
@dabbopabblo Жыл бұрын
You have always had to think about how you render a site on the front end client side as long as you weren’t making a static site. And if all your pointing out is people have moved onto dynamic sites more than static sites these days, well then no shit Sherlock. And don’t mistake your little react hobby jobs as the actual industry, because the REAL industry is the people maintaining the servers your “server less” apps are actually running on
@TheNewton
@TheNewton Жыл бұрын
And all of them just tend to create user annoyances. Sick of websites where the chrome loads before the actual content looking for, and gd the code minification in even html CSS class names makes user scripts impossible. And Ffs Load optimization is a joke trying to fix bloat that shouldn't be there.
@AV_YOUTUBE_202X
@AV_YOUTUBE_202X Жыл бұрын
Leave it to programmers to make a thing 10x more complicated in order to squeeze 50% more performance out of an existing design. - Fantastic overview, by the way!
@TheNewton
@TheNewton Жыл бұрын
Most of that complication is the root cause of the low performance that then has to fix itself. With the majority of the perf gains on the backend budget and users left wondering why a page with 3 paragraphs takes 10seconds to load.
@yestermonth
@yestermonth Жыл бұрын
50%? You mean 1.3% with 50 times the complexity.
@dusscode
@dusscode Жыл бұрын
Says the junior dev :)
@boris_raduloff
@boris_raduloff Жыл бұрын
At this point I absolutely despise web dev but after doing it almost exclusively for the past two years and doing my best to stay up to date with new frameworks and paradigms, I feel like I’m in too deep to quit. JS and front end in general are truly the cigarettes of the software development world.
@javier.alvarez764
@javier.alvarez764 Жыл бұрын
yeah same thoughts. 4 yrs and i just stay for the money. hate the ever evolving technology.
@Chillycloth
@Chillycloth Жыл бұрын
Let me tell you, it beats having to write OOP Java or Python code, LMAO
@javier.alvarez764
@javier.alvarez764 Жыл бұрын
I'm actually a java developer lol. You'll get the point of OOP and solid principles if you have 10+ enterprise projects. And in one of those project there is like one god class having 2000 lines of code and they are all doing different things. patterns make it easier to modify and decode and understand what they are doing. since they follow the same approach and patterns.
@albertsun3393
@albertsun3393 Жыл бұрын
If your website performs like shit, maybe it's because you're bundling your ENTIRE node_modules and shipping that to the client - fancy frameworks can't solve everything, more often than not it's just shitty programming.
@mickolesmana5899
@mickolesmana5899 Жыл бұрын
From someone that came frome embeded system, robotics, and numerical analysis software. Web dev is an absolute safe heaven. But then again this is a classic example of grass greener on the other sife
@codyrap95
@codyrap95 Жыл бұрын
I was lost already at SSG and at resumability I started having migraines 🤣🤣. Thanks for putting these videos, even though by the time you finish watching it, another 2 rendering patterns just emerged on the market.
@Mafanca
@Mafanca Жыл бұрын
great! i really needed a revision of all these things that've been popping out over the last few years
@shaheerhashim10
@shaheerhashim10 Жыл бұрын
Finally a video that has streamlined the arrival and need all the rendering patterns.
@jackrdye
@jackrdye Жыл бұрын
Couldn't have come out at a better time. Thank you as usual :)
@masterflitzer
@masterflitzer Жыл бұрын
thank you so much for this awesome overview, i've been waiting for years to have it all structured should be on the main channel so more people see it
@0b3ryn29
@0b3ryn29 Жыл бұрын
This is what I've been thinking about the past month. Thank you. Wish there was a course to teach all of the implementations. Even if its just a very basic app. Just to experience the differences.
@DominikSipowicz
@DominikSipowicz Жыл бұрын
As usual, a great video! As much as I wanted to learn a new one, it's more satisfying to have it confirmed in a very structured, confined manner.
@AByteofCode
@AByteofCode Жыл бұрын
I love how representative the background memes are
@mayowasoyinka7213
@mayowasoyinka7213 Жыл бұрын
This is the video I have wanted for so long!
@marielarodriguezmaggi850
@marielarodriguezmaggi850 10 ай бұрын
Wooow, I just loved the way you summarized and explain it even though was so short!
@cdes
@cdes Жыл бұрын
You forgot about “html over the wire” thingy, like Rails Hotwire, Phoenix LiveView, Laravel LiveWire. Long gone are the days of php echo 😂
@coscorrodrift
@coscorrodrift Жыл бұрын
Dude you're so goated for this. I knew about most of them but it's always SPA vs MPA, SSR vs SSG, or SSG vs ISR, and all that and I didn't know how they all fit together. ill be coming back to this one for sure
@vigneshwarrv
@vigneshwarrv 2 ай бұрын
did you?
@coscorrodrift
@coscorrodrift 2 ай бұрын
oops not really i quit formally tryina understand webdev i just go by vibes . building my site in hugo just statically, fuck dynamism@@vigneshwarrv
@dontaskiwasbored2008
@dontaskiwasbored2008 Жыл бұрын
This is the video we all needed, thanks!
@notyetnamed89
@notyetnamed89 Жыл бұрын
I love qwik. The idea is just awesome.
@oskarkottom8365
@oskarkottom8365 Жыл бұрын
Love your content so we'll made keep it up man
@geeshta
@geeshta 8 ай бұрын
Hi there's also HDA (Hypermedia Driven Applications) - AJAX requests are issued like in an SPA but instead of JSON, a piece of HTML code rendered from the server is returned like in an MPA and hotswapped on place without reload. HTMX, Livewire (for Laravel), Hotwire, Unpoly are the frameworks fir this.
@vigneshwarrv
@vigneshwarrv 2 ай бұрын
absolutely.. AJAX - ( Asynchronous Javascript + XML ). But there was a reason to shift from XML to JSON right?. JSON data APIs were reusable for other applications as well right ?
@aushturm
@aushturm Жыл бұрын
I'm totally satisfied with my SPA sites. You can speed up the initial page load with lazy loading too. It feels like a lot of this stuff is just fixing a problem I don't even know I have.
@ancellery6430
@ancellery6430 Жыл бұрын
i agree, i dont think anyone is complaining with at most a 5 second page load
@mrgentledolphin6693
@mrgentledolphin6693 Жыл бұрын
Totally agree, i feel like Js bundle size shouldn't feel like a big problem, even if it takes a couple seconds to load it's going to be cached by the browser... The only real problem with spas is SEO
@MrMudbill
@MrMudbill Жыл бұрын
@@ancellery6430 5 second load???? You must've picked the wrong random number for your example, because I don't think you would genuinely be unbothered by a website taking 5 seconds to load. Have you seen that Google statistics show that website traffic drops considerably if the website takes more than 2-3 seconds? I know that if I search for something and the first result doesn't load when I click it, I will click on the next one.
@ancellery6430
@ancellery6430 Жыл бұрын
@@MrMudbill if the html loads then data loads in a few seconds I have no problem with that. 5 seconds would be the absolute max
@sebasfavaron
@sebasfavaron Жыл бұрын
I was instant internet. God bless smart people for making that more feasible. It’s like gaming on 30fps, not impossible but you sure appreciate some sweet 120fps
@Aezur20
@Aezur20 Жыл бұрын
"As the CTO of your project". I feel personally attacked.
@BryndilleYT
@BryndilleYT Жыл бұрын
I would love to see more content on Qwik, the concept is just so cool !
@charlesm.2604
@charlesm.2604 Жыл бұрын
what happened to the "offline first SPA approach" JS frameworks were created to be ?
@nro337
@nro337 Жыл бұрын
Really great summary!
@arjunragu995
@arjunragu995 18 күн бұрын
This is a good video. I never even knew this existed. Thank U
@raptordev2235
@raptordev2235 11 ай бұрын
This is what I needed 🤩
@felixinit
@felixinit 11 ай бұрын
Rendering patterns. Brutal.
@Alex-bc3xe
@Alex-bc3xe Жыл бұрын
It is always depends on the clients needs but ... man this is very hard and comprehensive.
@claudenirmf
@claudenirmf Жыл бұрын
Thank you, that was a great TL:DR; 😮👍🏻
@JonasLismont
@JonasLismont Жыл бұрын
Happy new year 🥴😂 - thanks, awsome video as always
@joseandkris
@joseandkris Жыл бұрын
Very well explained.
@gdm_music
@gdm_music 4 ай бұрын
really really informative, never knew aout this
@NihalTowfiq
@NihalTowfiq Жыл бұрын
Very informative!!
@modernkennnern
@modernkennnern Жыл бұрын
This was a great video!
@shanejohnson2752
@shanejohnson2752 Жыл бұрын
Thank you for this video
@nattysweg343
@nattysweg343 Жыл бұрын
absolute legend
@DS-tj2tu
@DS-tj2tu Жыл бұрын
Thank you!
@C1maCat
@C1maCat Жыл бұрын
Man I wish my university taught a course on this
@alexinflux
@alexinflux Жыл бұрын
It’ll be outdated by the time first semester ends
@adityaanuragi6916
@adityaanuragi6916 Жыл бұрын
@@alexinflux lmfao
@memeproductions4182
@memeproductions4182 Жыл бұрын
probably half of these didn't even exist yet lol
@C1maCat
@C1maCat Жыл бұрын
@@memeproductions4182 Fourth year comp sci right now is still teaching jQuery as cutting edge so
@v01d_r34l1ty
@v01d_r34l1ty Жыл бұрын
@@C1maCat jQuery is still an abs W tho
@JaLikon65
@JaLikon65 Жыл бұрын
You guys ever watch a video and just KNOW it's gonna save you hundreds of hours of learning and confusion? Yeah, that's how I felt with this one. Thank you Jeff!! As someone with just a budding interest in web dev, this was insanely useful. I also LOVE how you actually explained the tech behind each idea, rather than just doing what seemingly every framework does and just claiming their solution is the be all end all and "blazingly fast" (citation needed) and "paradigm shifting" (citation needed) and seemingly every other buzzword in existence. Seriously can't thank you enough man, this video should be required viewing for every web developer!
@this.channel
@this.channel Жыл бұрын
Very cool to see all these different patterns. Which one is htmx?
@andressalomon6703
@andressalomon6703 8 ай бұрын
Amazing video!! But I kinda confuse between Partial Hydration, Island and Streaming SSR patterns :s They looked very similar... Can someone explain a little bit?
@MohamedAymn
@MohamedAymn Жыл бұрын
can we represent rendering in a diagram in the design phase before implementation?
@MobiusCoin
@MobiusCoin Жыл бұрын
Literally doing Islands with old school WordPress + SolidJS. Didn't even know what it was called.
@muhlissaryer6910
@muhlissaryer6910 Жыл бұрын
Your simple code snippet explanations of the concept in some of your other videos could be helpful in this one as well. I found this very helpful too. Thanks for educating us.
@rekberlin
@rekberlin Жыл бұрын
Looking forward to see the next 10 rendering patterns^^
@hamzakarim340
@hamzakarim340 Жыл бұрын
amazing
@justanotherforsenboy1651
@justanotherforsenboy1651 11 ай бұрын
to be honest I always felt like web development is easy thats why I took it as a major and didnt regret it :)
@codinginflow
@codinginflow 11 ай бұрын
That old McDonalds website completely cracked me up
@1Chitus
@1Chitus Жыл бұрын
What I personally like best: static pages, that actually get manually rendered on the client by Javascript. The worst thing: It actually somewhat works. Load times are not horrendous and browser support is OK.
@jcy089
@jcy089 9 ай бұрын
I feel lucky to have started web development back when all you had to learn was jQuery / CSS and some backend framework. If I saw this video today as a beginner, I'd probably just switch to Swift or Kotlin and go native 😂
@vigneshwarrv
@vigneshwarrv 2 ай бұрын
I considered going back to the woods😅
@iLiran
@iLiran Жыл бұрын
Cant wait to spend time to learn new technologies and ways to render to improve performance by 0.2% !
@codingprograms2078
@codingprograms2078 Жыл бұрын
Thank God!!!!!!
@XerosXIII
@XerosXIII Жыл бұрын
after going through SPA hell since 2016, tried SSG with nuxtjs, im so glad AstroJS exist Now Im gonna stick to my island and do content website without all the hassle of js-frameworks
@cherubin7th
@cherubin7th Жыл бұрын
Idk, I just have html pages that have some javascript to get json and display it.
@doubleg1094
@doubleg1094 11 ай бұрын
in static web page we can use fetch api or xhr to make changes without refresh , it's possible to make entire spa after loading a static home page
@VivekChandra007
@VivekChandra007 9 ай бұрын
but interactivity and data binding is a problem
@doubleg1094
@doubleg1094 9 ай бұрын
@@VivekChandra007 i used a lot of html attribute and local storage to solve that and it work perfectly with incredible performance(the maximum of js performance especially when i avoid variables as possible ⚡⚡⚡).
@vertical3life
@vertical3life Жыл бұрын
When talking bout streaming SSR, you should also mention Marko, veteran among the kids.
@CristmasBox
@CristmasBox Жыл бұрын
You’ve missed Phoenix LiveView, which uses socket connection to bring real-time UX with very little JS
@Alexey-gp7vc
@Alexey-gp7vc Жыл бұрын
and Hotwire in RoR, and HTMX in others
@lucast2742
@lucast2742 Жыл бұрын
does qwik serialize all the javascript state ? this mean it works with canvas ? this does not seem to be effective for canvas rendering
@gabrielkarczewski4453
@gabrielkarczewski4453 Жыл бұрын
this feels like a such fast paced area. in 95% of cases, it’s still completely fine to use classic SSR (MPA in the video) or SPAs. we’ll see if any of those new things will become reliable solutions
@pavelzapletal7942
@pavelzapletal7942 Жыл бұрын
I agree, that hydration is rly stupid. (I am looking at you mismatch errors). The Qwik approach looks nice.
@BeautifulTurkish
@BeautifulTurkish Жыл бұрын
Which category do the frameworks like Django, Laravel fall under? They do server side rendering for sure but what they do also seems different than what JS SSR frameworks do.
@deado7282
@deado7282 Жыл бұрын
They are MPAs. So SSR without hydration. There is no client rendering involved.
@birgirkarl
@birgirkarl Жыл бұрын
Thank you - my indecisiveness has now turned into psychosis.
@basil3d
@basil3d Жыл бұрын
I wish that you talk about frameworks like AlpineJS and HTMX as they are giving a new alternative approach for multipage webapps.
@brunomendes8031
@brunomendes8031 Жыл бұрын
They're really just prettier jquery. Not that new.
@davimiranda9321
@davimiranda9321 Жыл бұрын
nice video
@ishakimanuel3513
@ishakimanuel3513 Жыл бұрын
SPA / MPA = frontend architecture SSR / SSG = rendering pattern
@ogreeni
@ogreeni Жыл бұрын
Yes, I noticed that too
@perc-ai
@perc-ai Жыл бұрын
Fireship is not even a sr developer lol... how can he get basic things like this wrong
@asdqwe4427
@asdqwe4427 Жыл бұрын
And nothing gets rendered by in an SPA? The different techniques he describes are all forms of rendering. SSG: render with your build tools SSR: render with a server side application SPAs render on the client, and then there are various clever ways to to mix all of the above.
@perc-ai
@perc-ai Жыл бұрын
@@asdqwe4427 SPA is not a rendering pattern... its a type of architecture used by frameworks like React...
@wildebeest1454
@wildebeest1454 Жыл бұрын
@@perc-ai React applications are not inherently SPAs. What he was referring to was CSR which SPAs inevitably employ.
@e-raticartist
@e-raticartist 11 ай бұрын
not gonna lie, Danny's homepage is wild
@jonathanlambrecht5642
@jonathanlambrecht5642 7 ай бұрын
where does htmx lands here? (im just learning)
@thyssenbot
@thyssenbot Жыл бұрын
Hey, no mention of Blazor?
@thisiswill
@thisiswill 2 ай бұрын
Feels like I just ran a marathon, after watching that LOL.
@NeoVim-qx2yp
@NeoVim-qx2yp Жыл бұрын
this is what i want
@MichaelBattaglia
@MichaelBattaglia Жыл бұрын
In the time it took me to watch this video 3 new JS Frameworks have been introduced.
@madhujai_shiksha
@madhujai_shiksha Жыл бұрын
Very Heavy 🤯
@kahnfatman
@kahnfatman 11 ай бұрын
PHP rocks!
@iyadelwy1500
@iyadelwy1500 Жыл бұрын
We need a "Scala in 100 seconds" video
@vladgeor5579
@vladgeor5579 Жыл бұрын
@Beyond Fireship I love you
@mznunaya
@mznunaya Жыл бұрын
My GAWD [snatches sun glasses off of face]
@funkynerd_com
@funkynerd_com Жыл бұрын
I understood every part of that and yet I now feel even more confused.
@alexandruserban3555
@alexandruserban3555 Жыл бұрын
we go back to static html...bc it works
@shantanukulkarni007
@shantanukulkarni007 Жыл бұрын
At 5:06 Did anyone else hear cat crying in the background when he was talking about code splitting?
@Htbaa
@Htbaa Жыл бұрын
So much complexity for interactivity. Just make use of htmx for dynamic content loading without page refreshes and use something like _hyperscript or Alpine.js for interactivity and behavior. Much easier to build and maintain. Also no build toolchain required!
@Dev-Siri
@Dev-Siri Жыл бұрын
I like how we created hydration & now we are trying to avoid hydration so that interactive components can do hydration faster. That's a lot of water.
@geeshta
@geeshta Жыл бұрын
I just transitioned from a full Django MPA to Django REST API + Vue SPA. I'm kinda lost on SSR. Like how does your frontend fetch data to from backend when it's all on server? I also don't understand why Fireship calls Next a backend framework while other people say it's a frontend framework.
@charlesm.2604
@charlesm.2604 Жыл бұрын
So that's the thing, SSR isn't all on the server. The part that is ran server-side is generating the initial HTML, the rest (state management, dynamically changing content, routing, etc...) is ran on the client-side. In Django words, Nuxt SSR will generate your views just like Jinja templates, the resulting HTML is what is shipped to the visitor when he makes the request but then anything else that is happening after through user-interactions (button clicks, form submissions, etc...) will be executed inside the browser as if it was a piece of jQuery code. The reason why it might be confusing for you is because both the server part and client part are written in Javascript and inside the same file which isn't straight forward. This is why we use Vue's lifecycle hooks: mounted () { // ... } Do you get it ?
@maankabe01
@maankabe01 Жыл бұрын
how about htmx
@adamkuti5796
@adamkuti5796 Жыл бұрын
How the turntables, JavaScript adapting to Java and Spring features
@basdfgwe
@basdfgwe Жыл бұрын
It'd be good if you could do a series looking at the front endarchitecture of popular sites.
@filipstudeny
@filipstudeny Жыл бұрын
I just started using Next.Js and I have no idea how you use it, is it Frontend or Backend framework ? No, its actually kinda both, why ? How ? I have no idea
@jlucasp25
@jlucasp25 Жыл бұрын
Please make a video about HTMX
@showbikshowmma3520
@showbikshowmma3520 Жыл бұрын
So u mean we could integrate partial hydration with ISR for a quite large webapp instead of using hydration/island?
@tomich20
@tomich20 Жыл бұрын
Which one to use if I want to do PWA for offline navigation? I'm using sveltekit + restful API backend. SPA were amazing but now that render strategy it's getting ditched by the community
@yeehawlerz1013
@yeehawlerz1013 Жыл бұрын
In some of our projects we don't use a restful API we use Supabase for our back end. What we do is we take advantage of the PWA offline navigation cache and on Supa we can cache the response from the DB (if they first viewed the site with internet) and then we save it to the cache. we haven't had any real problems so far with it. The only problem is understanding how to set cache headers and have a cache check to re-hydrate/fetch the data again when theres internet.
@tomich20
@tomich20 Жыл бұрын
@@yeehawlerz1013 thanks. PWA takes care of caching the info from our API. The problem I'm having is that I would like to pack all the site routes in the same package. So people can login, go offline and still keep moving around all sections of the App (even if they didn't visit it yet).
@charlesm.2604
@charlesm.2604 Жыл бұрын
@@yeehawlerz1013 The supabase sdk is just a fancy wrapper abstracting API requests so this guy can defintely cache the response the same way on his lower-level.
@charlesm.2604
@charlesm.2604 Жыл бұрын
@@tomich20 For this you would need to revisit your design architecture, especially the authorization flow.
@TheNewton
@TheNewton Жыл бұрын
Static pages work offline. You've described nothing that indicates a need for overcomplication.
@CuriousAnonDev
@CuriousAnonDev Жыл бұрын
Data and html are rendered dynamically in server for 1st request What does this mean?
@a.3967
@a.3967 Жыл бұрын
Instead of frond-end server hosting JS bundle that works in a client's browser to render a html page and also to fetch data, server side rendering frameworks first prepare a page with pre-fetched data and send out the ready html to be only rendered in a client's browser.
@0xbarb
@0xbarb Жыл бұрын
switched all apps to astro dont want to use anything else 😅
@stunna4498
@stunna4498 Жыл бұрын
2:32 google since then has this fixed. they can see spa pages pretty easily now. so i dont really think its a problem now but it was back then
@9paradox
@9paradox Жыл бұрын
im waiting for the time when web forms will rise to popularity again.
@PHAL__
@PHAL__ 9 ай бұрын
This need a update with the addition of hipermedia and htmx
@shafu_xyz
@shafu_xyz Жыл бұрын
But, ISR still need server right? at least its not rendering on every request like in SSR
@conelatilot
@conelatilot Жыл бұрын
You didn’t mention Fresh ( built with Deno ) for Islands .. :c
Do you REALLY need SSR?
18:15
Theo - t3․gg
Рет қаралды 155 М.
Next.js 13 - The Basics
9:00
Beyond Fireship
Рет қаралды 598 М.
小路飞第二集:小路飞很听话#海贼王  #路飞
00:48
路飞与唐舞桐
Рет қаралды 19 МЛН
Glow Stick Secret (part 2) 😱 #shorts
00:33
Mr DegrEE
Рет қаралды 22 МЛН
одни дома // EVA mash @TweetvilleCartoon
01:00
EVA mash
Рет қаралды 6 МЛН
10 CSS Pro Tips - Code this, NOT that!
9:39
Fireship
Рет қаралды 2,1 МЛН
The Biggest Lie In HTML
23:56
Theo - t3․gg
Рет қаралды 87 М.
How to OVER Engineer a Website // What is a Tech Stack?
11:20
Fireship
Рет қаралды 2,2 МЛН
The ultimate guide to web performance
6:43
Beyond Fireship
Рет қаралды 391 М.
React VS Svelte...10 Examples
8:35
Beyond Fireship
Рет қаралды 505 М.
This UI component library is mind-blowing
8:23
Beyond Fireship
Рет қаралды 531 М.
10 Design Patterns Explained in 10 Minutes
11:04
Fireship
Рет қаралды 2,1 МЛН
How GitHub Actions 10x my productivity
8:18
Beyond Fireship
Рет қаралды 378 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 876 М.
小路飞第二集:小路飞很听话#海贼王  #路飞
00:48
路飞与唐舞桐
Рет қаралды 19 МЛН