Skip to content

Commit

Permalink
Update STEPS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aurorascharff committed Apr 30, 2024
1 parent 660cdf7 commit bb437f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion STEPS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

- App router, prisma and local DB, tailwind CSS
- This is now only server components. Show each component.
- Lets enhance this message box with react 19! Goal: make it interactive while minimizing js on the client and reducing forntend complexity.
- Lets enhance this message box with react rsc and 19! Goal: make it interactive while minimizing js on the client and reducing forntend complexity.

## Basic form with server action

Expand Down Expand Up @@ -49,6 +49,7 @@ Notes: Don't trust the input from the client.

- Return instead of console.log error and timestamp (create timestamp)
- Add max limit messages sent 5.
- Return success
- Get this to the user: useActionState, add initial state and add p "errorMessage", "use client"
- Show the error in the form.
- Pass _prevState and return Promise< State>
Expand Down

0 comments on commit bb437f7

Please sign in to comment.