Skip to content

Conversation

@bosun-ai
Copy link

@bosun-ai bosun-ai bot commented Oct 29, 2025

Summary

This is a work-in-progress pull request to upgrade the frontend from React 16.8.6 to React 17.0.2.

Scope of changes

  • Currently, the only change in this branch is an updated yarn.lock. No source files or package.json updates are included yet.

Reasoning

  • The goal is to move the application to React 17.0.2. Updating the lockfile is an initial step towards aligning dependencies, but further changes will be required to complete the upgrade.

Impact and risk

  • With only the lockfile updated, application behavior should remain unchanged, but dependency resolutions may differ locally when installing. Once package.json and code changes are introduced, areas to watch include:
    • Event system changes in React 17 (delegation and bubbling nuances).
    • Compatibility of react-dom and related libraries with React 17.
    • Any Flow typings or flow-typed stubs that target React 16.
    • Test stability (Jest, Enzyme/React Testing Library).

Follow-up work

  • Update package.json to set react and react-dom to 17.0.2 and ensure peer dependencies align.
  • Review and update flow-typed definitions (e.g., flow-typed/npm/react_v16.8.0.js) for React 17.
  • Audit third-party libraries for React 17 compatibility and update as needed.
  • Run the full test suite and address any failures.
  • Perform manual QA on critical flows (rendering, events, modals, error boundaries).

Reviewer call-outs

  • This PR is not ready for review; it is intended to track progress. Please do not merge.
  • Once package.json changes are added, feedback on any known React 17 migration nuances in this codebase would be helpful.

This pull request is created by bosun, a code maintenance automation platform. For more information, visit bosun.ai.

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