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.

1

Go to @/store/index.ts file.

2

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

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

Theme Reducer works for Dark / Light / System theme.

4

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

5

If you don’t use Google Admob, you can remove Admob Reducer.

Admob Reducer works for AdMob state.

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