Data fetching using sever action #62272
Unanswered
abhishekmardiya
asked this question in
App Router
Replies: 1 comment
-
From the NextJS team themselves,
and server actions are one of the ways to fetch data (along with fetch etc) on the server, so I would say yes. Basically, it reduces the loading time needed to fetch data from multiple places on the client side, since it will need to fetch from the server anyways, and the server can cache data too which is even better. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it considered good practice to fetch data using server actions?
Beta Was this translation helpful? Give feedback.
All reactions