52 lines
796 B
Markdown
52 lines
796 B
Markdown
# State Management
|
|
|
|
> How state is managed in this project.
|
|
|
|
---
|
|
|
|
## Overview
|
|
|
|
<!--
|
|
Document your project's state management conventions here.
|
|
|
|
Questions to answer:
|
|
- What state management solution do you use?
|
|
- How is local vs global state decided?
|
|
- How do you handle server state?
|
|
- What are the patterns for derived state?
|
|
-->
|
|
|
|
(To be filled by the team)
|
|
|
|
---
|
|
|
|
## State Categories
|
|
|
|
<!-- Local state, global state, server state, URL state -->
|
|
|
|
(To be filled by the team)
|
|
|
|
---
|
|
|
|
## When to Use Global State
|
|
|
|
<!-- Criteria for promoting state to global -->
|
|
|
|
(To be filled by the team)
|
|
|
|
---
|
|
|
|
## Server State
|
|
|
|
<!-- How server data is cached and synchronized -->
|
|
|
|
(To be filled by the team)
|
|
|
|
---
|
|
|
|
## Common Mistakes
|
|
|
|
<!-- State management mistakes your team has made -->
|
|
|
|
(To be filled by the team)
|