Skip to content

Commit

Permalink
update docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Mar 13, 2024
1 parent cc525f3 commit 820edad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ As an exception mutations should be used sparingly in cases where truly necessar

## Types

When creating types try to think of how they would best **describe your code**.
Try to be expressive by keeping them as **narrow as possible** which brings benefits to the codebase:
When creating types we try to think of how they would best **describe our code**.
Being expressive and keeping them as **narrow as possible** brings benefits to the codebase:

- Increased Type Safety - Catch errors at compile-time, since narrowed types provide more specific information about the shape and behavior of your data.
- Improved Code Clarity - Reduced cognitive load by providing clearer boundaries and constraints on your data which makes your code easier to understand by other developers.
Expand Down

0 comments on commit 820edad

Please sign in to comment.