Skip to content

migration: React 16 to 19 upgrade#290

Draft
mirekys wants to merge 2 commits intoinveniosoftware:masterfrom
oarepo:contribution-react-19-migration
Draft

migration: React 16 to 19 upgrade#290
mirekys wants to merge 2 commits intoinveniosoftware:masterfrom
oarepo:contribution-react-19-migration

Conversation

@mirekys
Copy link

@mirekys mirekys commented Feb 6, 2026

DO NOT REVIEW YET - WIP

Overview

Migrate React-SearchKit from React 16.13.0 to React 19 to align with modern React ecosystem and enable future feature development.

Migration Plan

Phase 1: Test Coverage Enhancement

  • Add test coverage to prevent regressions
  • Target: 48 test suites, 322 tests passing
  • Focus on Redux state management which is most vulnerable to React changes

Phase 2: React Upgrade

  • Upgrade react: 16.13.0 → 19.x
  • Upgrade react-dom: 16.13.0 → 19.x
  • Update peer dependencies

Phase 3: Testing Infrastructure Updates

  • Update enzyme to React Testing Library or compatible testing library
  • Update jest and related testing dependencies

Phase 4: Build Tooling Updates

  • Update webpack configuration if needed
  • Ensure compatibility with React 19 change

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

@mirekys mirekys marked this pull request as draft February 6, 2026 07:26
@mirekys mirekys changed the title migration: React 16 to 19 upgrade preparation migration: React 16 to 19 upgrade Feb 6, 2026
@mirekys mirekys force-pushed the contribution-react-19-migration branch 2 times, most recently from 99edc75 to db1527c Compare February 6, 2026 16:03
mirekys and others added 2 commits February 13, 2026 14:36
* Adds comprehensive edge case tests for components:
  ActiveFilters, AutocompleteSearchBar, BucketAggregation, Count,
  EmptyResults, Error, LayoutSwitcher, Pagination, ResultsGrid,
  ResultsList, ResultsLoader, ResultsMultiLayout, SearchBar, Sort,
  SortBy, SortOrder, Toggle.

* Adds additional tests for state modules: actions (index, query),
  reducers (index, query, results, app), selectors (index,
  query.additional), types (index).

* Adds API module index tests and lib/component index export verification.

* Improves coverage: SortBy 95.23%, ResultsList 94.73%, ResultsGrid
  94.73%, Count 92.3%, Error 90%.

* Increases overall test count from 248 to 693.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Adds comprehensive edge case tests for components:
  ActiveFilters, AutocompleteSearchBar, BucketAggregation, Count,
  EmptyResults, Error, LayoutSwitcher, Pagination, ResultsGrid,
  ResultsList, ResultsLoader, ResultsMultiLayout, SearchBar, Sort,
  SortBy, SortOrder, Toggle.

* Adds additional tests for state modules: actions (index, query),
  reducers (index, query, results, app), selectors (index,
  query.additional), types (index).

* Adds API module index tests and lib/component index export verification.

* Improves coverage: SortBy 95.23%, ResultsList 94.73%, ResultsGrid
  94.73%, Count 92.3%, Error 90%.

* Increases overall test count from 248 to 693.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mirekys mirekys force-pushed the contribution-react-19-migration branch from db1527c to 8de01f7 Compare February 13, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant