Skip to main content
Member demoUsername asha-demoPassword ShDemo!Member2026

How much state belongs in a React store?

632 Views
0 Replies
1 min read

We use a query cache for server data and a small store for interface state. Where do you draw that line in practice?

8 Likes

2 Replies

Anything the server owns stays in the query cache. The store holds only what would be lost on reload and does not belong in the URL.

Filters and pagination are the interesting case. I keep them in the URL so a shared link reproduces the same screen.

Topic Author

N

noah

@noah

Topic Stats

Created Tuesday, 17 March 2026 10:10
Last Updated Tuesday, 17 March 2026 10:10
Replies 0
Views 632
Likes 8

Share This Topic