From 8681c6fa57301ae7ec1625824f512ece7f660105 Mon Sep 17 00:00:00 2001
From: Presa <124523559+zenWai@users.noreply.github.com>
Date: Fri, 15 Dec 2023 23:02:29 +0100
Subject: [PATCH] Update README.md
---
README.md | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index c3d6b37..487eca9 100644
--- a/README.md
+++ b/README.md
@@ -3,10 +3,16 @@
[![Next.js CI](https://github.com/zenWai/nextjs-dashboard/actions/workflows/ci.yml/badge.svg)](https://github.com/zenWai/nextjs-dashboard/actions/workflows/ci.yml)
-- Created a database in the same region as the application code to reduce latency between server and database.
-- Fetched data on the server with React Server Components. This allows to keep expensive data fetches and logic on the server, reduces the client-side JavaScript bundle, and prevents database secrets from being exposed to the client.
-- Used SQL to only fetch required data, reducing the amount of data transferred for each request and the amount of JavaScript needed to transform the data in-memory.
-- Parallelize data fetching with JavaScript - where it made sense to do so.
-- Implemented Streaming to prevent slow data requests from blocking the page, and to allow the user to start interacting with the UI without waiting for everything to load.
-- Move data fetching down to the components that need it, thus isolating which parts of routes should be dynamic in preparation for Partial Prerendering.
+- Database Setup: Optimized for minimal latency.
+- Data Fetching: Uses React Server Components for efficient server-side handling, reducing client-side JavaScript and safeguards database secrets.
+- SQL Utilization: Fetches only necessary data, optimizing data transfer and in-memory processing.
+- JavaScript Parallelization: For efficient data fetching where applicable.
+- Streaming Implementation: Improves UI interaction during slow data requests.
+- Data Fetching Isolation: For effective Partial Prerendering.
+- Dynamic Dashboard: Implements next/cache.
+- Search and Pagination: Using URL Search Params and Next.js APIs.
+- Handling Errors: Catch errors (including 404 errors) and display a fallback to the user. Show form errors using the useFormState hook - while keeping accessibility in mind.
+- ServerActions: Offers server-side validation and data mutation.
+- Routes: Enhanced invoice routes with form validation and improved accessibility.
+- Metadata: Focused on SEO and shareability.