Skip to content

Commit

Permalink
Merge pull request #169 from alan2207/fix-docs-links
Browse files Browse the repository at this point in the history
fix docs links
  • Loading branch information
alan2207 committed May 23, 2024
2 parents ef999b0 + 09bd95e commit d8cb1f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Implement an interceptor to manage errors effectively. This interceptor can be u

Utilize error boundaries in React to handle errors within specific parts of your application. Instead of having only one error boundary for the entire app, consider placing multiple error boundaries in different areas. This way, if an error occurs, it can be contained and managed locally without disrupting the entire application's functionality, ensuring a smoother user experience.

[Error Boundary Example Code](../src/features/discussions/routes/discussion.tsx)
[Error Boundary Example Code](../src/app/routes/app/discussions/discussion.tsx)

### Error Tracking

Expand Down
2 changes: 1 addition & 1 deletion docs/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Code splitting involves splitting production JavaScript into smaller files to op

Ideally, code splitting should be implemented at the routes level, ensuring that only essential code is loaded initially, with additional parts fetched lazily as needed. It's important to avoid excessive code splitting, as this can lead to a performance decline due to the increased number of requests required to fetch all the code chunks. Strategic code splitting, focusing on critical parts of the application, helps balance performance optimization with efficient resource loading.

[Code Splitting Example Code](../src/routes/index.tsx)
[Code Splitting Example Code](../src/app/routes/index.tsx)

### Component and state optimizations

Expand Down
2 changes: 1 addition & 1 deletion docs/state-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Good Application State Solutions:
- [jotai](https://github.com/pmndrs/jotai)
- [xstate](https://xstate.js.org/)

[Global State Example Code](../src/stores/notifications.ts)
[Global State Example Code](../src/components/ui/notifications/notifications-store.ts)

## Server Cache State

Expand Down

0 comments on commit d8cb1f3

Please sign in to comment.