stackblitz / stackblitz/starters
Change default template for React TS
Open
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
Steps to reproduce
- Click on new project
- Click on React
- Wait for
react-scriptsto load
Expected behavior
Use Vite
Parity with Local
- I have run the project in my local machine and I could not reproduce the issue.
Screenshots
No response
Platform
No response
Additional context
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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