Minor Kitten¹ update: Even if your page routes now return nothing (e.g., null, undefined, empty string), a proper page will be rendered. That includes the development-time WebSocket that powers hot reloads.
So the shortest valid page route is now:
```js
export default () => ''
```
And, more importantly, e.g.,
```js
export default () => kitten.html`
<page css>
`
Will also render.
:kitten:💕
¹ https://codeberg.org/kitten/app
#Kitten #SmallWeb #HTML #CSS #JavaScript #htmx #hypermedia #web #dev
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.