IEEE-RVCE / IEEE-RVCE/IEEE-RVCE.github.io

Long cold start time of development server

未关闭
#102 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement
主要语言
JavaScript
星标
3
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

  • Description: The development server for the IEEE RVCE website made using React and bundled using Webpack takes a long time to start when running the npm start command, especially on the first run of the day. This slows down the development process and makes it difficult to iterate quickly.
Steps to reproduce:

Run the command npm start to start the development server, Observe the time taken for the server to start up.

  • Expected behavior: The development server should start up quickly, allowing us to iterate quickly and efficiently.
  • Actual behavior: The development server takes a long time to start up, which slows down the development process.
  • Possible solution: Migrate the project from Webpack to VITE.

FYI @chrisvrose @MayurSChittaragi

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先运行 npm start 并测量开发服务器的启动时间,尤其是首次运行时的启动时间。检查当前的 React 和 Webpack 开发配置,然后评估迁移到 Vite 是否能解决延迟问题。当开发服务器的启动速度显著提高,同时保留现有开发工作流时,即可视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, react, vite, webpack
领域
build-system, frontend, performance
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。