Frequently Asked Questions (FAQ)

What is Sigment?

Sigment is a lightweight, fine-grained reactive JavaScript framework that allows you to build fast, maintainable UIs without virtual DOM or JSX.

Do I need JSX or a build step?

No! Sigment uses plain JavaScript tag functions, so you can write UI code without transpilers or JSX syntax.

How does reactivity work in Sigment?

Sigment uses fine-grained signals to track dependencies at the element level, so only the minimal necessary DOM updates happen.

Can I define custom elements?

Yes, you can dynamically add new tag functions with addsigment() for custom element names.

Does Sigment support TypeScript?

Absolutely! Sigment is built with TypeScript support in mind, and you can declare types for custom tags to get full typing.