> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shipmobilefast.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Redux Toolkit

> Integrate Redux Toolkit in your Expo app

![Redux Toolkit](https://mintcdn.com/shipmobilefast-51a499dc/rNBXOQ08cKXtmr3A/images/header/redux.png?fit=max\&auto=format\&n=rNBXOQ08cKXtmr3A\&q=85\&s=9d3342776df430359a9c2b705fee8bb1)

> [!TIP]
>
> Redux Toolkit is a powerful tool for managing state in your React Native app. It is a set of tools that help you write better Redux code faster.

Under the hood, we are using Redux Toolkit for state management.

**Step 1**

Go to `@/store/index.ts` file.

**Step 2**

You'll see bunch of codes. But Important part is:

```tsx theme={null}
        export const store = configureStore({
          reducer: {
            theme: themeReducer,
            search: searchReducer,
            admob: admobReducer,
            // You can add more reducers here
          },
        });
```

**Step 3**

Theme Reducer works for Dark / Light / System theme.

**Step 4**

Search Reducer works for search state. Like Social Media App Search.

**Step 5**

> [!TIP]
>
> If you don't use Google Admob, you can remove Admob Reducer.

Admob Reducer works for AdMob state.

> [!TIP]
>
> Thats it! You can create your own reducers and add them to the store.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.