Swap tokens
This commit is contained in:
@@ -89,7 +89,6 @@ Key Principles
|
||||
- Place static content and interfaces at file end.
|
||||
- Use content variables for static content outside render functions.
|
||||
- Minimize 'use client', 'useEffect', and 'setState'. Favor RSC.
|
||||
- Use Zod for form validation.
|
||||
- Wrap client components in Suspense with fallback.
|
||||
- Use dynamic loading for non-critical components.
|
||||
- Optimize images: WebP format, size data, lazy loading.
|
||||
@@ -105,5 +104,6 @@ Key Principles
|
||||
- When you think its necessary update all the code from the database to the front end
|
||||
- Do not update ManagingApi.ts, once you made a change on the backend endpoint, execute the command to regenerate ManagingApi.ts on the frontend; cd src/Managing.Nswag && dotnet build
|
||||
- Do not reference new react library if a component already exist in mollecules or atoms
|
||||
- After finishing the editing, build the project
|
||||
|
||||
Follow the official Microsoft documentation and ASP.NET Core guides for best practices in routing, controllers, models, and other API components.
|
||||
|
||||
Reference in New Issue
Block a user