Skip to content

Replace CRA with Vite or similar for NodeJS templates. #11262

@rogersau

Description

@rogersau

Is your feature request related to a problem? Please describe.

The React with Fluent UI template utilizes react-scripts (CRA) as its tooling. This results in extremely slow debugging and hot reloads. resulting in a poor developer experience. I find myself often using the template the stripping out react-scripts and moving to vite.

I believe ensuring a rock-solid foundation for Teams App development will lower the barrier of entry for new developers looking to extend functionality within Microsoft Teams. It will also ensure organizations do not start their journey already with Tech debt in their stack.

Describe the solution you'd like

  • Investigate utilizing Vite (or similar) to speed up debug and modernize building of the application.

Describe alternatives you've considered

  • Vite seems the most logical and simple replacement, it is recommended by the react.dev team.
  • Parcel is another option, less familiar myself with it.
  • Another option potentially could be remix/next.js however they probably are overkill.

Additional context

Metadata

Metadata

Labels

TA:AuthTeam Area: AuthTA:PMPM investigation areafeature-requestThe issue is a feature request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions