Express v5 Is HERE

  Рет қаралды 21,695

Coding Garden

Coding Garden

Күн бұрын

Пікірлер: 28
@CodingGarden
@CodingGarden Ай бұрын
0:00 - express v5 Released 0:25 - express v5 docs still in beta 0:49 - express v5 changelog / migrating guide 0:56 - rejected promised automatically handled 1:05 - setting up local example api 1:35 - api code tour 1:51 - add broken router 2:34 - throw error in handler without try / catch 3:19 - express error handler setup 4:00 - throw error in handler in async handler without try / catch 5:05 - Installing v5 5:16 - express types not updated yet 5:41 - sendfile removed / renamed to sendFile 5:56 - using express v5 6:31 - send method status argument removed 7:03 - path route matching syntax change 7:16 - req.query not writable 7:20 - async handlers are now caught 7:57 - deprecated methods from v4 are removed in v5 9:01 - pluralized accepts method names 9:09 - app.param leading colon ignored 9:14 - res.send no long accepts just status code - use res.sendStatus 9:47 - v5 upgrades not that bad 9:59 - v5 type updates waiting to be merged 10:21 - Thanks!
@EducationAllTheTime123
@EducationAllTheTime123 22 күн бұрын
Brother, I had a Node.js project, then we changed the method of connecting to SQL, and all the SQL queries slowed down. Later, we reverted to the old method, but it couldn't reach the old speed again. What can be done? Windows Server Data Base Mssql
@mikevaleriano9557
@mikevaleriano9557 Ай бұрын
Absolutely respect the library, the author, and the people that made the effort to actually ship this. But. I'm not coming back after using Hono.
@MerthanMerter
@MerthanMerter Ай бұрын
@@mikevaleriano9557 yes!
@codedusting
@codedusting Ай бұрын
After 10 years, another version update. The stability of this is outstanding.
@everythingisfine9988
@everythingisfine9988 Ай бұрын
Love to see a Express.js vs Hono.js comparison
@cincooitodois
@cincooitodois Ай бұрын
youre the best, cj! love from brazil
@soltsdev
@soltsdev Ай бұрын
10 min video I love it
@erikslorenz
@erikslorenz Ай бұрын
Feels like the evolution of js libraries has been promise friendly > typesafe > web standards. This lets me remove a dependency on promiserouter or whatever it’s called but man…it’s years late lol
@dev_adventure
@dev_adventure Ай бұрын
Thanks CJ
@zabustifu
@zabustifu Ай бұрын
Not to sound ungrateful, but I'm surprised Express still doesn't have first-class support for HTTP/2. My company will probably have to migrate to Fastify because of this.
@2u841r
@2u841r Ай бұрын
I moved to Hono
@abrahamolaobaju1781
@abrahamolaobaju1781 Ай бұрын
wow been a minute CJ
@svenst
@svenst Ай бұрын
For me this is a bummer „Express 5 no longer supports the signature res.json(obj, status). Instead, set the status and then chain it to the res.json() method like this: res.status(status).json(obj).“ .. because now we need to always send a status?! Why can’t we keep default 200?
@dimasadnan4873
@dimasadnan4873 Ай бұрын
I think if you want to use the default 200 status code, just use the res.json() or res.send() without setting the status argument. There is no need to use res.status(200) manually and chain it into them. Seems like you only need res.status() when you want to send status code other than 200. CMIIW
@svenst
@svenst Ай бұрын
@@dimasadnan4873 mhhh … to me the E5 note reads like as if they removed res.json() and replaced it with res.status().json() and as a consequence res.json().status() is not possible
@JLarky
@JLarky Ай бұрын
Did CJ accidentally upload this to the wrong channel?
@CodingGarden
@CodingGarden Ай бұрын
No this was from a Coding Garden live stream 😄
@milenivanov5175
@milenivanov5175 Ай бұрын
pls vscode theme :) ?
@CodingGarden
@CodingGarden Ай бұрын
See all my settings here: github.com/CodingGarden/vscode-settings I go over everything in this video on Syntax: kzbin.info/www/bejne/bmbUanmKmbusgNU
@danko95bgd
@danko95bgd Ай бұрын
Express is a decade late 😂
@statuschannel8572
@statuschannel8572 Ай бұрын
but still used by most of the node community! so its a win in their book
@danko95bgd
@danko95bgd Ай бұрын
@@statuschannel8572 they already lost
@aberba
@aberba Ай бұрын
Late to what? Nothing has really changed since then.
@xppaicyber3823
@xppaicyber3823 Ай бұрын
@Stoney_Eagle
@Stoney_Eagle Ай бұрын
Hello twitch 😂😂
Everything I Learned Trying Laravel / PHP
19:37
Coding Garden
Рет қаралды 11 М.
🤯 Express.js 5 is here (since a month already, actually)
9:58
My MEAN sister annoys me! 😡 Use this gadget #hack
00:24
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 3,5 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 142 МЛН
HTTP 1 Vs HTTP 2 Vs HTTP 3!
7:37
ByteByteGo
Рет қаралды 292 М.
The best way to time block Obsidian tasks
5:48
Morgen
Рет қаралды 4,1 М.
The Cloudflare Stack
13:26
Cloudflare Developers
Рет қаралды 17 М.
I'm now VPS red pilled (and protecting with CloudFlare)
8:12
Web Dev Cody
Рет қаралды 44 М.
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 107 М.
I'm Ditching Try/Catch for Good!
10:29
Web Dev Simplified
Рет қаралды 170 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 616 М.
I Stopped Using Express.js: Because Bun and Hono 🔥
10:23
Sam Meech-Ward
Рет қаралды 125 М.
My MEAN sister annoys me! 😡 Use this gadget #hack
00:24