Skip to content

Update vite and typescript in react-ts template #3705

Open

Description

@orellazri

Is your feature request related to a problem? Please describe.

Vite is 2 major versions behind and TypeScript is 1 major version behind.
It causes issues when trying to use packages that require those dependencies to be more up to date.

Describe the solution you'd like

Update the template's dependencies and files to the latest Vite and TypeScript versions.

Describe alternatives you've considered

Update manually after creating the project. But it seems that upgrading to Vite 4 or above breaks hot reloading.

Additional context

No response

Activity

  1. moved this to Backlog in v3 Backlogon Feb 1, 2026
  2. drognisep commented on Apr 5, 2026

    @drognisep

    I don't know if the same base template is used to create the templates included with the CLI, but the vanilla template Vite version is also very far behind what is currently supported for fixes and security patches/backports.

    At the time of this writing, updating to the latest version (^8.0.3) requires Node 20+, and Node 24 is the next active LTS version.

    Image
  3. ninox14 commented on Apr 10, 2026

    @ninox14

    i manually bumped versions to vite 8.0.8 and react to latest
    seems to work fine besides dev script breaking when you change something on front end AFTER changes on back end
    vite dies with Error: EPIPE: broken pipe, write

    more info on error here https://chatgpt.com/share/69d98212-0ee0-8388-9178-d6ff4006372c

    but if you just run front end vite server separately everything works fine

  4. xiaoxustudio commented on Jun 21, 2026

    @xiaoxustudio

    Yes, it seems that the dependencies in the template are using very outdated versions. I can't help but wonder if this part is still being maintained?

  5. leaanthony commented on Jun 21, 2026

    @leaanthony
    Member

    These things just take time. There is nothing stopping you from updating them and submitting a PR 😄

  6. xiaoxustudio commented on Jun 21, 2026

    @xiaoxustudio

    These things just take time. There is nothing stopping you from updating them and submitting a PR 😄

    I don't mean anything else. I'm just simply wondering if the template part will be updated (the other parts are still great). If you don't mind, I'd be more than willing to submit a pull request.

  7. added this to the Future milestone on Oct 13, 2026
  8. taliesin-ai commented on Oct 15, 2026

    @taliesin-ai
    Collaborator

    Hi there! Thanks for the suggestion. I'll leave this open for us to consider when planning future work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions