---
id: quick-start
title: Quick Start
---
This code snippet very briefly illustrates the 3 core concepts of React Query:
- [Queries](../guides/queries)
- [Mutations](../guides/mutations)
- [Query Invalidation](../guides/query-invalidation)
[//]: # 'Example'
If you're looking for a fully functioning example, please have a look at our [simple codesandbox example](../examples/simple)
```tsx
import {
useQuery,
useMutation,
useQueryClient,
QueryClient,
QueryClientProvider,
} from '@tanstack/react-query'
import { getTodos, postTodo } from '../my-api'
// Create a client
const queryClient = new QueryClient()
function App() {
return (
// Provide the client to your App