An example code for the article Returning JSX from React Server Actions.
-
Clone the repo
git clone https://github.com/vitalets/react-server-actions-jsx.git
-
Change directory to
react-server-actions-jsx
cd react-server-actions-jsx
-
Install dependencies
npm install
-
Run app
npm run dev