Documentation
Everything you need to know about _hyperscript
🔑
Getting Started
Introduction, installation, and your first script
📖
Language
Variables, expressions, control flow, strings, math, conversions
⚡
Events & Functions
Event handlers, functions, exception handling
🌳
Working With The DOM
Finding elements, updating content, measuring, visibility
🔍
Async Transparency
No callbacks, no await -- just write linear code and let the runtime handle it
🌐
Networking
Fetch, Server-Sent Events, WebSockets
🚗
Getting Around
Navigation, scrolling, and moving users around the page
📋
Templates & Morphing
Generate HTML with templates, update the DOM intelligently with morph
🔄
Reactivity
Reactive values, data binding, and automatic UI updates
🧱
Components
Custom elements with reactive templates, slots, and DOM isolation
🔌
Extensions
Extending hyperscript with custom commands, expressions, and features
🏁
Conclusion
HyperTalk-isms, debugging, JavaScript interop, security, language history
See also: Reference · Patterns · Playground