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