Write your first component.
Follow a .wisp file from static text to state, input bindings and child components. Each lesson has source, an explanation and a question to check your understanding.
Your first component
Run a component and change the text it displays.
02State and events
Follow a click from its handler to the count on the page.
03Derived values
Compute a value from a signal with a memo.
04Add a stylesheet
Write a style section and see how its rules are scoped to the component.
05Bind an input
Connect the live value of a control to a signal.
06Conditional content
Build and dispose a branch when state changes.
07Keyed lists
Keep row identity when a collection changes.
08Child components
Pass props between two component files.
09Input and focus
Listen for focus and keys, and see how Tab, text fields, number fields and checkboxes respond.
10Scroll and pointer events
See what the pointer is over, which events fire, and which container a wheel or a finger scrolls.
Before you start
Some familiarity with Rust types and closures will help. HTML and CSS describe the interface. Start with Getting started to run a component in a local framework checkout.
Run the linked browser demos, then edit the lesson examples locally and rebuild to see your changes. There is no in-browser compiler yet.