Vite templete #1330
Replies: 8 comments 6 replies
-
Yeah, I'm totally on board with more templates! :) Like, it would be nice if we had some for React Native and Next as well. Right now we've got two different template repos, one for JS and one for TS: https://github.com/reduxjs/cra-template-redux and https://github.com/reduxjs/cra-template-redux-typescript . Maybe it would be worth having a single repo with multiple packages, one for each template? |
Beta Was this translation helpful? Give feedback.
-
I happened to find Vite's React RTK Query templete from awesome Vite. |
Beta Was this translation helpful? Give feedback.
-
@markerikson Hi, I created Vite templete for Redux-Toolkit! App code is copy of cra-redux-toolkit template. I'm glad to try it and give me any feedback while if you have a spare time! 😄 |
Beta Was this translation helpful? Give feedback.
-
I think we need templates for all the major ones, will make adopting rtk into those much easier/quicker. |
Beta Was this translation helpful? Give feedback.
-
We now have an officially maintained Vite template: https://github.com/reduxjs/redux-templates/tree/master/packages/vite-template-redux |
Beta Was this translation helpful? Give feedback.
-
@nickmccurdy Great work nick! |
Beta Was this translation helpful? Give feedback.
-
I'll Continue to vite-rtk-query project as focusing RTK-query. 😄 |
Beta Was this translation helpful? Give feedback.
-
I sent 2 PR for Vite Redux templates.
And I suggest remove project root configs( |
Beta Was this translation helpful? Give feedback.
-
Currently Create React App redux-toolkit templete is available as a scaffold React Redux project option.
According to npm trends Vite which CRA alternate has become very popular in the last six months.
The main factor is faster build and dev server i think, author's Evan You talked outline of Vite at July, 16.
Vite: Rethinking Frontend Tooling
In the Vite Docs Community Template section, usually template is providing by degit that simple repository clone cli tool.
It so written, seems like we can create a Vite templete for the Redux Toolkit without any special effort.
I think we can provide a more comfortable development environment for users by creating an official Vite template,
what do you think everyone?
Beta Was this translation helpful? Give feedback.
All reactions