The letter S in a light blue, stylized speech bubble followed by SpeakBits
SpeakBitsThe letter S in a light blue, stylized speech bubble followed by SpeakBits
Trending
Top
New
Controversial
Search
Groups

Enjoying SpeakBits?

Support the development of it by donating to Patreon or Ko-Fi.
About
Rules
Terms
Privacy
EULA
Cookies
Blog
Have feedback? We'd love to hear it!

Returning JSX from React Server Actions

dev.to
submitted
9 mos ago
bythrowschentoprogramming

Summary

Next.js Server Actions can return React Components JSX instead of raw JSON data. The UsersList component loads users by button click. The React Components component renders users with server action.

Next.js is a full version of the popular React app. It has a built-in user interface and a built in user interface for the user to control.

 web site website internet site site cash machine cash dispenser automated teller machine automatic teller machine automated teller automatic teller ATM screen CRT screen digital clock-0
10

3 Comments

2
joesch
9 mos ago
That's pretty cool! I had thought these were only for form actions!
2
throwschenOP
9 mos ago
I feel like there is a lot in flux in regards to server actions
2
joesch
9 mos ago
There is. It's what makes Vercel's decision with including them in Nextjs very suspect