Vite React example (Javascript + Typescript)
See original GitHub issueIs your feature request related to a problem? Please describe. Vite is a blazing fast build tool that supports many frontend frameworks, including React and React Typescript. I personally set up Redux for Vite React Typescript manually many times in the last couple of months. It would be helpful for the community if we have an official Vite template for Redux/ Redux Toolkit
Describe the solution you’d like
- Add official templates for Vite React Redux Javascript and Vite React Redux Typescript.
Describe how should we implement this feature
- Add new repositories
vite-react-template-redux
andvite-react-template-redux-typescript
- Or move all examples to a single monorepo
Other things to keep in mind
- React 18 is pretty new and React 17 is still widely used. We might need to consider adding examples for
react@17
andreact-redux@17
as well? Need a discussion for this.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Creating a TypeScript React Application with Vite
A tutorial that shows how to create a TypeScript-based React app using Vite.
Read more >How to set up a Front-End project with Vite, React, and ...
This will scaffold a Vite project with React and TypeScript pre-configured and ready for us to work on. The project folder structure should ......
Read more >Getting Started - Vite
You can navigate to vite.new/{template} to select which framework to use. The supported template presets are: JavaScript, TypeScript. vanilla · vanilla-ts · vue ......
Read more >Setup a new React application with Vite + TypeScript | by Thi ...
Today I will start writing a new series called React Hero where I can ... Simple words: TypeScript = JavaScript + Static typing...
Read more >Vite with TypeScript - Robin Wieruch
A brief walkthrough on how to upgrade Vite from JavaScript to TypeScript. The tutorial assumes that you have already created a React project ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I missed the deps part. Works good on my side. Thx for sharing this.
Hey, thanks for helping with this!
I’d say we should go with React 18 / React-Redux v8. That’s what the CRA templates already do, and those are the “latest” versions of each package. I know there’s still some compat issues in the broader ecosystem, but I don’t think going with the older versions in a new project template would really be helpful.