EVERYONE NEEDS TO WATCH THIS! History keeps repeating itself! Notice how we keep hearing about 5 times it improved something but didn’t work on a large website. The test of a great pattern or architecture is if it was done everywhere does it still work well and is easy to maintain? Yes and it is good, no finds areas of improvement
@johnlehew819216 күн бұрын
React is fixing the wrong problem. With fast 10ms to 25ms api calls that can run in parallel, the new concurrent features aren’t needed. Need to move away from Microservices to modules and significantly reduce call tree size which is the root cause of latency. Microservices were created at a time of limited memory and slow spinning hard drives. This isn’t the case any more and the microservices aspect of systems needs optimized, not React.
@shawn57621 күн бұрын
Words actually mean something?
@valorkurzatx22 күн бұрын
"All (if not many) declarative code has some sort of underlying imperative implementation" this might be best statement to differentiate imperative and declarative paradigms.
@rohitmehta314823 күн бұрын
Can you please make content on micro frontend as well.
@marcusvrbergo25 күн бұрын
I got deeply annoyed just by seeing the pop ups .... lol
@solvm165227 күн бұрын
Sooo good!
@solvm165227 күн бұрын
Rad video! 2 points of contention though. Flash was created by MacroMedia, which Adobe purchased. Flash was not killed by Apple's iPhone, tho Flash was grueling on battery life. THE BIG problem with Flash was that it offered ZERO SEO. All the biggest companies paid to make "interactive" Flash sites. And when their SEO disappeared, they paid top dollar again to for HTML/CSS/JQuery to compete for SEO agian. Also, Flash sites couldn't be scrolled and took ages to load. Flash was cool, but doomed all along. Much respect! Awesome work!
@JaDanBar97Ай бұрын
Why are you using JavaScript??? YUCK!!!
@TerenceKearnsАй бұрын
Wow. No amount of pausong has allowed me to understand this video. Now I'm just scared of JavaScript. I wasn't before.
@drmurikАй бұрын
Svelte and SvelteKit will be the breakthrough.
@deathcareАй бұрын
It seems to me that the main problem in this hypothetical scenario is that you are needlessly requested to make an abstraction for 7 lines of extremely simple code :P Maybe this is why I am not a project manager or lead dev, but it seems like those 7 lines of extremely simple code solve all 4 of the issues you laid out that were created by the abstraction in the first place.
@doc8527Ай бұрын
If you don't need to cache data, re-validate, update cache, sharing the data across applications. The initial 7 lines is fine. That's how we all start. The problem is once you need to start to build something serious fast, handle different state during data-fetching, avoid same api is being called multiple times, sharing those remote fetch result across applications, safe api throttling by design, react-query automatically makes sense for you. You usually can build something faster than average SPA. Caching is very powerful. I had seen enough times devs try to come up their own solutions from that 7 lines, all end up in an extremely terrible version of react-query 95% of the times and waste lots of engineering hours. They were all confident they can come out something better than react-query.
@jewelgeeageorge4801Ай бұрын
I am trying dsa leetcode in java ,so as a beginner should I focus more on imperative or declarative approach to solve problems ?
@cckeysify2 ай бұрын
i still hate react just because its made by facebook, vue or svelte is the way to go
@Storkz0re2 ай бұрын
For idiots who code in notepad
@someidiotwithnoname2 ай бұрын
So basically declarative is imperative abstracted away so the average programer doesn't need to know how stuff works only the outcome of it. I guess this approach allows faster development and readable code but it also can lead to badly optimised, buggy and resource intensive code due to devs not understanding why something works the way it does and what are the pitfalls of certain abstractions. My first instinct is comparison in C# between a classic foreach loop and List collection list.ForEach( => ) that is basically a while loop surrounded by two checks that throw exceptions. Due to those checks the list.ForEach is slower and more resource hungry then a classic foreach (with each new edition this gap is narrowing due to optimisatios) but both have their use cases especially if not using something like a Result pattern and assuring that the classic foreach will ALWAYS get some sort of collection so it doesn't crash the program due to null reference exception.
@sakesun2 ай бұрын
I complained a lot when Hooks was introduced. Now I have some clue why thing is what it is now.
@BecherLeigh-q4q2 ай бұрын
Borer Orchard
@amitanshusahu10792 ай бұрын
the explanation was great
@AdrianaCooke-e1d2 ай бұрын
Okuneva Neck
@mohakgupta37492 ай бұрын
And here I am still using a custom backend like flask for APIs and using next.js as a frontend tool 😅 how can one build web applications in next.js that interacts with cloud or databases?
@dovh492 ай бұрын
Sometimes it is just easier to use HTMX. And this is one of those times.
@eduarddez44162 ай бұрын
Was getting into so much spaghetti code with use effect+ use state , useState causing rerenders of the component and retrigerring the useEffect until someone reviewed my code and just told me to stop using useEffect for simple data fetching (which i was using it for). So after a bit of searchit i ended up running into react Query which is not only better ,but simplified my entire code
@fernandosanchezm2 ай бұрын
react and npm also requieres a lot of bullshit on his own, plain web components with a template are very economical on his own
@v.reagan2 ай бұрын
What a great video!
@Memes_uploader2 ай бұрын
best explanation btw
@molistcordina3 ай бұрын
Is this still relevant? Is Next JS still the best framework to build web apps today?
@ahmedahmedx96003 ай бұрын
that was a really nice video thank you, please what is the name of the theme in 5:40 ?
@moggedau3 ай бұрын
I should probably give this a good, I've always abstracted API calls to a API client directory - then I call them in a Zustand action.
@TheMikkelOLaursen3 ай бұрын
Really love this under-the-hood insight. Thank you
@MLGJuggernautgaming3 ай бұрын
But have you ever tried sveltekit?
@Oytifaage3 ай бұрын
I lovefllow searies hearing evaluation always
@sourabhsingh45154 ай бұрын
something that was initially a sidekick has replaced it's successor at many places
@Volodya-th2bm4 ай бұрын
Do you have Qwik. Made from Misko Hevery. You know him
@sayruslt4 ай бұрын
RQ is good, though I prefer SWR.
@Ranjeetvishwakarma-724 ай бұрын
damn cool Explanation☸☸
@kid14126214 ай бұрын
How about indexdb 😂
@kid14126214 ай бұрын
Vs rtk?
@TheJames8084 ай бұрын
Why the fuck is everybody put into even smallest projects its so much overhead layer TF is wrong with all of you.
@tmmrtn4 ай бұрын
I still don't understand: Why build a bespoke DB for a web framework, especially for content sites (and not "Facebook"-kind of sites 1:00) ?
@MocBocUS4 ай бұрын
the Theranos biggest scam girl lmao
@katietrewitt28614 ай бұрын
Thank you
@aydzz4 ай бұрын
Thanks for this!
@julianhu4 ай бұрын
Best next.js intro video I've ever seen!
@tarquin1612344 ай бұрын
In Angular, the team have added signals, because people would not learn rxjs, but the thing is, when you actually take the time to learn declarative rxjs Angular, you find it is one of the best things you've ever learnt in programming, and you want to use it all the time. So my strong advice would be to invest time into it. It is far superior to imperative (in Angular at least).
@mikejohneviota92934 ай бұрын
Story of SvelteKit when
@longbatphu4 ай бұрын
How about other react-query alternatives?
@itsjustboarsley4 ай бұрын
I’m a c++/GoLang backend dev and never touched web stuff. Trying to start with no knowledge of any frameworks was wild so I decided to roll a small one of my own to learn how they work. Now I’m here, and I’m stoked about nextjs