useState, useEffect, …) come from react.
Hooks
useProjectState
count.
useGlobalState
Both are for small, JSON-serialisable values. For project data, write to the project with
sdk.project.useProject
useNavigate
useWindowTitle
Components
Buttons and inputs
Layout and containers
Other
Components take the props the app uses for them;
onChange on inputs receives the value, not the event.
Styling
Import a CSS file and it is scoped to your expansion, so plain element selectors are safe:sdk.theme.