Using React in 2024

  Рет қаралды 6,162

Awesome

Awesome

6 ай бұрын

A look at some recent React features.
💬 Topics:
- React Concurrent Mode;
- React Suspense;
- React useTransition hook;
- React useOptimistic hook;
- Working with forms in React;
- Server Components;
- React server functions;
📖 Blog Article - www.awesome.club/blog/2024/us...
Patreon - / awesomeclub
#javascript

Пікірлер: 40
@StingSting844
@StingSting844 6 ай бұрын
Good stuff man If not for React's market share, literally none of these features will gain traction.
@arson5304
@arson5304 6 ай бұрын
that's literally everything bro. if something is not popular then nobody will know about it.
@StingSting844
@StingSting844 6 ай бұрын
@@arson5304 i mean the complexity in these concepts is insane that no one will attention to it
@brightokoro7073
@brightokoro7073 6 ай бұрын
How about react image optimization without using Nextjs?
@awesome-coding
@awesome-coding 6 ай бұрын
That's a good point! Thanks for mentioning it!
@daedalus5070
@daedalus5070 6 ай бұрын
Does React even know React at this point?
@awesome-coding
@awesome-coding 6 ай бұрын
😂
@mac.ignacio
@mac.ignacio 6 ай бұрын
Not because it is popular it is good.
@moutafatin
@moutafatin 6 ай бұрын
Well all of this feels hacky
@awesome-coding
@awesome-coding 5 ай бұрын
It is kind of an afterthought. React has huge dependencies at its core, and an architectural model which makes it hard to compete with the simplicity & lightweight offer by the likes of Svelte and Solid.
@willvincentparrone3339
@willvincentparrone3339 6 ай бұрын
Havent watcged the video but I am confident that the answer is no
@justpatrick_
@justpatrick_ 6 ай бұрын
Does anybody
@unknownbird6165
@unknownbird6165 6 ай бұрын
@@justpatrick_Dan Abramov does
@awesome-coding
@awesome-coding 6 ай бұрын
@unknownbird6165 😂
@TechBuddy_
@TechBuddy_ 6 ай бұрын
I don't why but I know all of this stuff and I hate react more everytime I see something new. Only things I am loving are svelte+ kit and astro
@arson5304
@arson5304 6 ай бұрын
svelte is turning into react lol, look at its new updates
@luka1790
@luka1790 6 ай бұрын
@@arson5304 more like solid and qwik, really
@crab-cake
@crab-cake 6 ай бұрын
@@arson5304 runes are not like react. they are signals from solid.js. completely different mental model.
@TechBuddy_
@TechBuddy_ 6 ай бұрын
@@arson5304 people think this a lot but let me tell you something Svelte was closer to react before runes now it is closer to solid. Sure both react and svelte use the same naming scheme like state and effect but they work completely differently
@daedalus5070
@daedalus5070 6 ай бұрын
@@arson5304 The syntax is similar but I think we are a long way off it turning into the React mess. As long as they don't go any further than Runes I can live with it🤷🏻‍♂
@erikslorenz
@erikslorenz 4 ай бұрын
Once react tried to do more than single page apps and then told us useeffect was bad I decided I no longer cared to learn the “next big thing”. If you want me to put everything back on the server great….but I’ll be using an actual server language instead
@awesome-coding
@awesome-coding 4 ай бұрын
Fair enough! I also feel like React is "pushing it" with its new approach...
@erikslorenz
@erikslorenz 4 ай бұрын
@@awesome-codingI feel like we’ve recently hit a nice little point where most people with more than a few years of dev recognize that the single page app or srr with a heavy js framework and a separate json api is probably not the best choice for most websites and apps. Lots of browser innovation plus a few lightweight options like htmx can get people most of the way there. Then for some complex front end stuff you can embed solid or whatever. But I think the final sticking point is that since all the focus has been on these js frameworks the deployment options like vercel and netlify are really nice. We need competitors in the full stack deployment world that can do something similar
@vpetryniak
@vpetryniak 6 ай бұрын
I do not even know JavaScript...
@awesome-coding
@awesome-coding 6 ай бұрын
😅✌️ They even wrote books about it - www.amazon.com/You-Dont-Know-JS-Grammar/dp/1491904194
@nyumat
@nyumat 6 ай бұрын
Real ones know this is a re-upload
@awesome-coding
@awesome-coding 5 ай бұрын
😂😅
@brencancer
@brencancer 6 ай бұрын
Backend fellas jealous about js having all shiny things.
@awesome-coding
@awesome-coding 6 ай бұрын
😂
@TechBuddy_
@TechBuddy_ 6 ай бұрын
No we're definitely not 😂
@Recordeer
@Recordeer 3 ай бұрын
That's not shine, that's cope.
@crab-cake
@crab-cake 6 ай бұрын
i don't like server actions. not only is the syntax ugly but there's too many different contexts and magic. i don't know why they couldn't do server$ like solidstart and qwik.
@awesome-coding
@awesome-coding 6 ай бұрын
Well said.
@crab-cake
@crab-cake 6 ай бұрын
​@@awesome-coding have you seen the leptos wasm framework? i think #[server(AddTodo, "/api")] is very nice. dioxus has server functions too as far as i know but i haven't looked into it much.
@Channelcustomization832
@Channelcustomization832 6 ай бұрын
How is the syntax ugly? Server action is just simple function.
@crab-cake
@crab-cake 6 ай бұрын
​@@Channelcustomization832 i'm talking about the directives 'use server' and 'use client'. they have different contexts and meanings depending on where you put them. it could be much simpler and it's hidden away with magic.
@faridguzman91
@faridguzman91 6 ай бұрын
man i hate "modern" react what the hell would i use all of these even for??
@awesome-coding
@awesome-coding 6 ай бұрын
😅
7 HTML Features You Probably Don't Know
3:05
Awesome
Рет қаралды 50 М.
The Easiest Way to Build Web Apps
3:26
Awesome
Рет қаралды 29 М.
КАКОЙ ВАШ ЛЮБИМЫЙ ЦВЕТ?😍 #game #shorts
00:17
Ну Лилит))) прода в онк: завидные котики
00:51
How I prepare to meet the brothers Mbappé.. 🙈 @KylianMbappe
00:17
Celine Dept
Рет қаралды 55 МЛН
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 450 М.
Solid Start 1.0 is Finally Here
4:18
Awesome
Рет қаралды 9 М.
New Features You Need To Know In Python 3.12
12:04
ArjanCodes
Рет қаралды 176 М.
They made React great again?
4:11
Fireship
Рет қаралды 988 М.
What Happened in May?
2:16
Awesome
Рет қаралды 6 М.
This UI component library is mind-blowing
8:23
Beyond Fireship
Рет қаралды 557 М.
10 React Hooks Explained // Plus Build your own from Scratch
13:15
Fireship
Рет қаралды 1,3 МЛН
The Easiest Way to Store Data
4:29
Awesome
Рет қаралды 17 М.
The Harsh Reality of Good Software
5:56
Awesome
Рет қаралды 39 М.