---
title: "How Migrating from Vanilla Redux to Redux Toolkit Improved State Management in Shopify POS"
description: "Shopify's Point of Sale React Native app moved from vanilla Redux to Redux Toolkit over about three months."
url: "https://swe.quest/articles/how-migrating-from-vanilla-redux-to-redux-toolkit-improved-state-management-in-bb79ef4f578fa9c6"
canonical: "https://shopify.engineering/react-redux-toolkit-migration"
source: "Shopify Engineering"
published: "2023-03-31"
difficulty: "medium"
kind: "Case study"
reading_minutes: 8
tags: ["react","refactoring","mobile","typescript","frontend"]
---

# How Migrating from Vanilla Redux to Redux Toolkit Improved State Management in Shopify POS

A post on [Shopify Engineering](https://swe.quest/sources/shopify.md), published 2023-03-31, 8 min read, Case study. Original: [https://shopify.engineering/react-redux-toolkit-migration](https://shopify.engineering/react-redux-toolkit-migration)

## Summary

Shopify's Point of Sale React Native app moved from vanilla Redux to Redux Toolkit over about three months. The team migrated reducer by reducer, relying on RTK slices and vanilla reducers coexisting in one root reducer so each change could ship and roll back independently. They adopted RTK's mutable slice syntax and generated action creators widely. For async logic they kept a hybrid createAsyncThunk pattern instead of extraReducers pending/fulfilled handlers, and skipped RTK Query because it lacks GraphQL support. The migration deleted about 3,500 lines of boilerplate, and the post flags two gotchas: type useDispatch, useSelector and useStore early, and use dispatch().unwrap() where code previously awaited dispatch.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [React](https://swe.quest/tags/react.md) (Web & mobile)
- [Refactoring & migrations](https://swe.quest/tags/refactoring.md) (Engineering practices)
- [Mobile](https://swe.quest/tags/mobile.md) (Web & mobile)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)

## Prerequisites

- Redux reducers and actions
- React Native ([easy posts on React](https://swe.quest/tags/react.md?difficulty=easy))
- TypeScript basics ([easy posts on TypeScript](https://swe.quest/tags/typescript.md?difficulty=easy))

## Keywords

Redux Toolkit, Redux, React Native, Shopify POS, createAsyncThunk, RTK Query

## Related posts

- [Management of Native Code and React Native at Shopify](https://swe.quest/articles/management-of-native-code-and-react-native-at-shopify-a1da81505efaf180.md): Shopify Engineering · 2021-04-16 · Medium · 8 min read · Mobile, React, Java & JVM, Performance engineering
  Shopify's Point of Sale team kept complex UI such as a draggable, reorderable grid of hundreds of buttons in React Native, fixing performance with fewer re-renders, lazy rendering, memoization and Reanimated 2.
- [Five years of React Native at Shopify](https://swe.quest/articles/five-years-of-react-native-at-shopify-84f013b1c431ce8f.md): Shopify Engineering · 2025-01-13 · Easy · 9 min read · React, Mobile, Developer productivity, Engineering management
  After five years, Shopify has migrated all its mobile apps to React Native, with each team choosing its own migration timing, and reports sub-500ms P75 screen loads, over 99.9% crash-free sessions, and an end to iOS/Android feature-parity work.
- [Migrating to React Native's New Architecture](https://swe.quest/articles/migrating-to-react-native-s-new-architecture-ea77244bbb28fd72.md): Shopify Engineering · 2025-09-05 · Medium · 12 min read · React, Mobile, Refactoring & migrations, Deployment
  Shopify moved Shopify Mobile and POS to React Native's New Architecture (Fabric) without pausing weekly releases.
- [Migrating Shop app from React Native to native](https://swe.quest/articles/migrating-shop-app-from-react-native-to-native-d251eff5b6600925.md): Shopify Engineering · 2026-09-10 · Medium · 6 min read · Mobile, React, AI for coding, Refactoring & migrations, Performance engineering
  Shopify rebuilt the Shop app from React Native into native Swift/SwiftUI and Kotlin/Jetpack Compose in 12 weeks, with coding agents porting features using the existing React Native app as a reference.
- [Native is now the future of mobile at Shopify](https://swe.quest/articles/native-is-now-the-future-of-mobile-at-shopify-4bc17172ea398962.md): Shopify Engineering · 2026-09-10 · Easy · 10 min read · Mobile, AI for coding, React, Refactoring & migrations, AI agents
  Shopify is moving its mobile apps from React Native back to native Swift and Kotlin because coding agents have cut the cost of building and keeping features in parity across two platforms, while native still gives closer access to platform capabilities and first-party tooling.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
