Alec Larson
Alec Larson
The goal is to allow APIs like `React.lazy` to be transformed into SSR friendly code. The transformation itself would be done by a Saus plugin. The `preload` function mentioned in...
Currently, you have to add any Node.js dependencies used by your `defineStateModule` functions to the `optimizeDeps.exclude` list in your Vite config, or else Vite will optimize them, which can lead...
Press `r` to restart the dev server, but it doesn't appear to do anything
Integration with Ladle (https://github.com/tajo/ladle) for `@saus/react`
My strategy would be to wrap cached promises with a new `CachedPromise` class. ```ts class CachedPromise { constructor(promise) { this.promise = promise promise.then((result) => { this.result = result this.promise =...
Repeating HTTP requests leads to slower builds, so workers should share them.
https://medium.com/hackernoon/the-100-correct-way-to-split-your-chunks-with-webpack-f8a9df5b7758 For production builds, give each `node_modules` package its own chunk.
When a renderer returns a non-nullish value, it inherits the `head` callback of the default renderer if it doesn't define its own.
If `cache: true` is defined, remote assets won't be fetched if already cached on disk, even if their contents changed. **Question:** How would cache busting be achieved?
Currently, we basically run `saus bundle` and use that bundle to pre-render, but it seems unnecessary. We should use Saus JIT compiler instead. We can provide a `--bundle` flag for...