editor/packages/jsx/README.md
konstantin-paulus 11fecc09ea Refactor example files to use <stage> and <scene> components
- Updated all example files to replace <rect> with <stage> and <scene> for improved structure and consistency.
- Enhanced the README.md to reflect the new project entry format for examples.
- Added a new dependency on "koota" in package.json for better integration.
- Improved documentation and comments throughout the examples for clarity.
2026-08-25 14:32:48 +02:00

17 lines
605 B
Markdown

# @diffusionstudio/jsx
The editor supplies the runtime when a project is mounted, so this package is
needed for **types and tooling** — IntelliSense and `tsc --noEmit`. It carries
no renderer: `useTicker` is a declaration that throws outside a mount, and
elements only become a composition once the editor renders them. The pure
helpers (`generate.*`, `parseTime`, the source-stamp constants) are real here;
everything else is a type.
See [reference/jsx](https://github.com/diffusionstudio/editor/blob/main/reference/jsx/README.md)
for the authoring surface itself.
## License
[MPL-2.0](./LICENSE)