preact-smitty
Preact bindings for smitty
npm install -S preact-smitty
Basics
const Title = screen < MEDIUM_SCREEN ? <h3>children0</h3> : <h1>children0</h1> let { return room: stateroomsid }const Room = { console // logs { id: '1', ... } return <Title>roomtitle</Title> }