Skip to content

Modernize frontend code#885

Merged
jake-low merged 49 commits intomainfrom
jlow/modernize
Feb 20, 2026
Merged

Modernize frontend code#885
jake-low merged 49 commits intomainfrom
jlow/modernize

Conversation

@jake-low
Copy link
Contributor

This PR cleans up and modernizes a bunch of things on the OSMCha frontend, in order to make development easier.

Notable changes:

  • Switch from Yarn to npm (npm comes with Node and has all the features we need; using it makes things easier for first-time contributors)
  • Port all Flow code to TypeScript (TS has decisively won as the preferred typed JS flavor)
  • Switch from react-scripts (the build tool from the deprecated create-react-app project) to Vite
  • Switch from Jest to Vitest, and simplify other testing dependencies
  • Switch from Prettier + ESLint to Biome
  • Upgrade to React 18
  • Upgrade to react-router v7
  • Remove Redux and Immutable.js dependencies; rewrite state management using React hooks or Zustand (for persistent state) and port data fetching from Redux Sagas to TanStack Query.
  • Refactor npm scripts to make building, running, testing, linting, and formatting easier.

The goal of all of this is to make contributing to OSMCha easier and more fun. Community contributions to OSMCha are more than welcome, and there's no shortage of open issues to work on if you'd like to get involved.

P.S. - These efforts are possible because OSMCha is a program of OpenStreetMap US now, which allows me (as a staff member of the organization) to spend some of my time working on maintenance. I plan to continue to work on other improvements for OSMCha in the near future.

jake-low and others added 2 commits February 10, 2026 18:16
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@jake-low jake-low marked this pull request as ready for review February 11, 2026 02:20
@jake-low jake-low merged commit e52ceb2 into main Feb 20, 2026
4 checks passed
@jake-low jake-low deleted the jlow/modernize branch February 20, 2026 01:08
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