Dynamic data
static def GET
./src/pages/products.imba
export default tag ProductsList
prop locals
static def GET req, res, next
const res = await fetch("/api/products", {
headers: { Accept: "application/json" }
})
res.locals.products = await res.json()
next!
<self>
<div>
for product in (locals.products or [])
<div> product.title
<div> product.price