# Migrating 1,100 files to Redux Toolkit v2 without freezing the Kibana monorepo

DevFeed: [Migrating 1,100 files to Redux Toolkit v2 without freezing the Kibana monorepo](<https://devfeed.tech/articles/migrating-1-100-files-to-redux-toolkit-v2-without-freezing-the-kibana-monorepo-78883.md>)

Original publisher: [Read original article](<https://www.elastic.co/search-labs/blog/redux-toolkit-v2-migration-kibana-monorepo>)

Author: Walter Rafelsberger

Published: 2026-08-28T15:20:00Z

Content type: tutorial

Language: en

Sources: [Elasticsearch Labs](<https://devfeed.tech/sources/elasticsearch-labs.md>)

Topics: [Redux](<https://devfeed.tech/topics/redux.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [LocalStorage](<https://devfeed.tech/topics/localstorage.md>), [Webpack](<https://devfeed.tech/topics/webpack.md>)

Tags: [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [eslint](<https://devfeed.tech/tags/eslint.md>), [inside-elastic](<https://devfeed.tech/tags/inside-elastic.md>), [kibana](<https://devfeed.tech/tags/kibana.md>), [migration](<https://devfeed.tech/tags/migration.md>), [monorepo](<https://devfeed.tech/tags/monorepo.md>), [redux](<https://devfeed.tech/tags/redux.md>), [v2](<https://devfeed.tech/tags/v2.md>), [webpack](<https://devfeed.tech/tags/webpack.md>)

## AI overview

Kibana migrated about 1,100 files to Redux Toolkit v2 while letting teams continue feature work. The approach made v2 the default and kept v1 under explicit npm aliases, using webpack configuration, Yarn resolutions, and an ESLint rule to prevent incompatible versions from crossing. Teams can migrate in batches based on dependencies and shared Redux types.

## Source excerpt

Kibana gave Redux Toolkit v2 the default package name and pushed v1 onto an explicit alias, which inverts the usual migration order. Webpack externals, yarn resolutions and an ESLint rule keep React Redux v7 and v9 out of each other's way.