Extract the core update logic from `spawnEffect` into `createSpawnUpdate`. This allows manual updates of spawned objects without relying on Preact effects, which is useful for non-reactive or imperative update cycles. Refactor `Buff` and `BuffSpawner` in `sts-like-viewer` to use the new `createSpawnUpdate` API for more efficient buff rendering. |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||