Question: Updating dfx new Templates – React/Vite & True Vanilla JS

Hello everyone, I was wondering if an update to the React/Vite template generated by dfx new is something that is desired or planned. The current setup feels a bit outdated, and I’m curious if there are any discussions around improving it.

Also, I noticed that the “Vanilla JS” template is not really vanilla—it includes TypeScript, lit-html, SASS, and other dependencies. This can be a bit confusing, especially for those expecting a plain JavaScript setup. It might be helpful to have a true Vanilla JS template and/or provide an additional lit-html-based template separately.

Would it be better to open an issue in the SDK repo, or is the forum the right place to start this conversation? Or would Discord be a better place to discuss this?

Looking forward to your thoughts!

1 Like

We plan on improving the situation in the near future. Currently we have starter projects in dfx new, the examples repo, and icp.ninja. Our goal is to have a single place where everything draw the templates from so that we have an easier time keeping things up to date.

1 Like