stackblitz / stackblitz/starters

Change default template for React TS

Open
#18 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
151
Forks
96
Avg merge
9d 6h
Merged PRs (30d)
2

Description

Describe the bug

The default React template is using CRA instead of Vite.

Link to the blitz that caused the error

https://stackblitz.com/

Steps to reproduce
  • Click on new project
  • Click on React
  • Wait for react-scripts to load
Expected behavior

Use Vite

Parity with Local
Screenshots

No response

Platform

No response

Additional context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the project-selection entry point for the default React template and trace where the generated template loads react-scripts. Compare that path with the repository's Vite-based starter configuration; done means choosing React creates a Vite project instead of a CRA project and no longer loads react-scripts.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript, vite
Domain
build-system, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.