5 Hidden React Server Function TRAPS Beginners Fall Into
The server function support in React 18, 19, NextJS and Waku is amazing. But there are some downsides. Let’s dig in and find out what those are!
👉 ProNextJS Course:
👉 Don’t forget to subscribe to this channel for more updates:
👉 Discord server signup:
👉 VS Code theme and font? Night Wolf [black] and Operator Mono
👉 Terminal Theme and font? oh-my-posh with custome prompt and SpaceMono NF
00:00 Introduction
00:47 Directly invoking server functions
02:42 Server functions from form
04:02 Returning state with useActionState
06:12 useActionState with direct invocations
07:10 “use server” at the top of the file
09:05 Gotcha! Monitoring server actions
10:23 Gotcha! Serial server functions
12:55 Gotcha! POST only
14:18 Got ...
#JackHerrington #react_js #react_component #react_router #npm_react #javascript #vite #react_ui #tailwind_react #react_typescript
20241007
_wnamPRhgkA
14 views
599
228
1 month ago 00:37:58 1
#1 Ranked HS Tennis Player - Japanese Girl School Life
2 months ago 00:35:42 1
Journey to the Center of the Earth (It Took 8 Days, I Lost 10kg)