> For the complete documentation index, see [llms.txt](https://the-sheet.gitbook.io/the-sheet-v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://the-sheet.gitbook.io/the-sheet-v2/docs/getting-started/compatibility.md).

# Compatibility

## Quick reference

| Sheet version         | Reanimated version | React Native Worklets version | React Native version | React version           | Expo SDK version     |
| --------------------- | ------------------ | ----------------------------- | -------------------- | ----------------------- | -------------------- |
| 2.x.x (branch `main`) | 4.x.x              | 0.4.x - 0.10.x                | 0.78 - 0.86          | Depends on React Native | Manages React Native |
| 1.x.x (branch `v1`)   | 3.x.x              | N/A                           | 0.63 - 0.81          | Depends on React Native | Manages React Native |

## Core dependencies

If confused, check `apps/example-expo/package.json` to see the versions of the core dependencies we use in our example Expo app

***

`react-native-reanimated`

* Defines our package major version => Other dependencies (React, React Native, ...) must be compatible with it
* Check v4 compatibility table: <https://docs.swmansion.com/react-native-reanimated/docs/4.x/guides/compatibility/>
* Check v3 compatibility table: <https://docs.swmansion.com/react-native-reanimated/docs/3.x/guides/compatibility/>

***

`react-native-worklets`

* Follows React Native Reanimated compatibility

***

`react-native-gesture-handler`

* Follows React Native Reanimated compatibility

***

`react-native`

* Defines React version
* Check React Native compatibility through its package.json
  * Example: <https://github.com/facebook/react-native/blob/v0.85.0/package.json>

***

`react`

* Follows React Native compatibility

***

`expo`

* Manages React Native version and some other dependencies (including Reanimated)
* Check compatibility table: <https://docs.expo.dev/versions/latest/>

Note: You can use `apps/example-expo/scripts/expo-packages-check.ts` to check the packages Expo manages

* Go to `apps/example-expo`
* Run `pnpm epc <expo-sdk-version>` (e.g. `pnpm epc 56`)

***

`react-native-safe-area-context`

* Anything is fine as long as it has:
  * `SafeAreaProvider` component
  * `useSafeAreaInsets` hook
  * `useSafeAreaFrame` hook

***

`typescript`

* Anything is fine as long as it works with React Native


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://the-sheet.gitbook.io/the-sheet-v2/docs/getting-started/compatibility.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
