Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
- aymanemadidi
- ayushmanchhabra
- babafemij-k
- bangseongbeom
- barclayd
- basan17
- bavardage
Expand Down
9 changes: 6 additions & 3 deletions docs/explanation/state-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ In a typical React context, when we refer to "state management", we're primarily

Popular caching solutions in React include:

- **Redux:** A predictable state container for JavaScript apps.
- **React Query:** Hooks for fetching, caching, and updating asynchronous data in React.
- **Apollo:** A comprehensive state management library for JavaScript that integrates with GraphQL.
- **[Redux][redux]:** A predictable state container for JavaScript apps.
- **[TanStack Query][tanstack_query]:** Hooks for fetching, caching, and updating asynchronous data in React.
- **[Apollo][apollo]:** A comprehensive state management library for JavaScript that integrates with GraphQL.

In certain scenarios, using these libraries may be warranted. However, with React Router's unique server-focused approach, their utility becomes less prevalent. In fact, most React Router applications forgo them entirely.

Expand Down Expand Up @@ -507,6 +507,9 @@ As bonus party trick, the form is functional even before JavaScript loads (see [

If you ever find yourself entangled in managing and synchronizing state for network operations, React Router likely offers a more elegant solution.

[redux]: https://redux.js.org/
[tanstack_query]: https://tanstack.com/query/latest
[apollo]: https://www.apollographql.com/
[use_navigation]: https://api.reactrouter.com/v7/functions/react-router.useNavigation
[use_fetcher]: https://api.reactrouter.com/v7/functions/react-router.useFetcher
[loader_data]: ../start/framework/data-loading
Expand Down