Introduce a component-to-observer index to avoid iterating over all observers for every world event. This optimizes event dispatching by only notifying observers whose queries are relevant to the specific component being added, removed, or changed. |
||
|---|---|---|
| src | ||
| test | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||