v0.9.0
BREAKING CHANGES
- All client files which use
JSX
need to have either the.jsx
or the.tsx
extension. This is because we now useVite
under the hood instead ofCreate React App
, andVite
requires these extensions to be present to process `JSX`` properly. - The Tailwind and PostCSS config files need to have the
.cjs
extension. These config files are CommonJS modules, and withVite
we are using ES modules by default.
Wasp now uses Vite instead of Create React App
We moved away from using Create React App for the client app. This means that dev startup time will be much faster and we are following the latest best practices for building web apps with React.
Express app
and http server
available in server setupFn
- Wasp now passes in a context to the server
setupFn
that contains Expressapp
and httpserver
objects. This can be used as an escape hatch for things like custom routes or WebSocket support.