You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@burr.apache.org by "hemanthsavasere (via GitHub)" <gi...@apache.org> on 2026/05/16 10:22:09 UTC
[I] Migrate telemetry/ui from Create React App to Vite [burr]
hemanthsavasere opened a new issue, #780:
URL: https://github.com/apache/burr/issues/780
**Is your feature request related to a problem? Please describe.**
The telemetry/ui project uses Create React App (react-scripts@5.0.1), which is effectively deprecated and no longer actively maintained. This results in slow dev server startup, sluggish HMR (Hot Module Replacement), and outdated tooling that is falling behind modern React ecosystem standards.
**Describe the solution you'd like**
Migrate the telemetry/ui build tooling from Create React App to Vite. This involves:
- Replacing react-scripts with vite and @vitejs/plugin-react
- Creating a vite.config.ts with the existing proxy config (http://localhost:7241) migrated from package.json
- Moving public/index.html to the project root and adding a <script type="module"> entry point
- Updating package.json scripts (start → vite, build → tsc && vite build, test → vitest)
- Replacing Jest/@testing-library jest adapters with Vitest equivalents
- Replacing process.env.REACT_APP_* references with import.meta.env.VITE_*
- Updating tsconfig.json to target ESNext and add "types": ["vite/client"]
- Upgrading TypeScript from ^4.9.5 to ^5.x for better Vite compatibility
**Describe alternatives you've considered**
Keeping CRA and upgrading react-scripts to the latest patch, however, CRA is no longer receiving meaningful updates and is effectively end-of-life. Migrating to Next.js was also considered, but since this is a standalone telemetry UI without SSR requirements, Vite is the more appropriate lightweight choice.
**Additional context**
Vite offers significantly faster cold starts and HMR compared to CRA's webpack-based setup, which benefits active development of the telemetry UI. The existing Tailwind CSS setup (tailwindcss@^3.4.1) is fully compatible with Vite out of the box with no configuration changes needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@burr.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Migrate telemetry/ui from Create React App to Vite [burr]
Posted by "jernejfrank (via GitHub)" <gi...@apache.org>.
jernejfrank closed issue #780: Migrate telemetry/ui from Create React App to Vite
URL: https://github.com/apache/burr/issues/780
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@burr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Migrate telemetry/ui from Create React App to Vite [burr]
Posted by "Jae-YS (via GitHub)" <gi...@apache.org>.
Jae-YS commented on issue #780:
URL: https://github.com/apache/burr/issues/780#issuecomment-4644981558
Hi! If this hasn't been tackled yet, I'd be happy to start contributing to issue. Looking forward to contributing to more issues.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@burr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Migrate telemetry/ui from Create React App to Vite [burr]
Posted by "skrawcz (via GitHub)" <gi...@apache.org>.
skrawcz commented on issue #780:
URL: https://github.com/apache/burr/issues/780#issuecomment-5059925820
@Jae-YS thanks I think we have just done this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@burr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Migrate telemetry/ui from Create React App to Vite [burr]
Posted by "jernejfrank (via GitHub)" <gi...@apache.org>.
jernejfrank commented on issue #780:
URL: https://github.com/apache/burr/issues/780#issuecomment-5085130704
Solved in #793
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@burr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Migrate telemetry/ui from Create React App to Vite [burr]
Posted by "skrawcz (via GitHub)" <gi...@apache.org>.
skrawcz commented on issue #780:
URL: https://github.com/apache/burr/issues/780#issuecomment-4467862042
Thanks for filing this — well-scoped and well-written.
We hit this exact problem while working on Dependabot alerts in #773: 4 of 26 security vulnerabilities (lodash, postcss, vite, serialize-javascript) are locked behind `react-scripts` 5.x and can't be fixed without this migration. So there's a concrete security motivation on top of the DX improvements.
The proposed approach looks right — Vite is the correct choice for a standalone SPA with no SSR needs. One thing to keep in mind: the telemetry UI has a proxy config for the backend at `localhost:7241` that will need to be carried over to `vite.config.ts`.
Happy to review a PR for this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@burr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org