---
title: "Fresh 1.3 – Simplified Route Components and More"
description: "Fresh 1.3 lets route components be async functions that load data directly, removing the handler-plus-props-interface boilerplate, while the existing ctx.render() pattern keeps working."
url: "https://swe.quest/articles/fresh-1-3-simplified-route-components-and-more-3694b69f8671c9dd"
canonical: "https://deno.com/blog/fresh-1.3"
source: "Deno"
published: "2023-07-18"
difficulty: "medium"
kind: "Release"
reading_minutes: 6
tags: ["frontend","typescript"]
---

# Fresh 1.3 – Simplified Route Components and More

A post on [Deno](https://swe.quest/sources/deno.md), published 2023-07-18, 6 min read, Release. Original: [https://deno.com/blog/fresh-1.3](https://deno.com/blog/fresh-1.3)

## Summary

Fresh 1.3 lets route components be async functions that load data directly, removing the handler-plus-props-interface boilerplate, while the existing ctx.render() pattern keeps working. Plugins can now inject routes and middlewares, thrown handler errors fall back to the \_500.tsx template, and Preact error boundaries can catch rendering errors. Multiple islands can be exported from one file to cut requests, best when grouping islands used on the same page. The release also adds Fresh-specific lint rules, clearer error messages, and uses the now-stable Deno.serve API when available.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)

## Prerequisites

- JSX components
- Deno basics

## Keywords

Fresh, Deno, Preact, Deno.serve, islands architecture

## Related posts

- [Fresh 1.4 – Faster Page Loads, Layouts and More](https://swe.quest/articles/fresh-1-4-faster-page-loads-layouts-and-more-0ba54de19820b6f5.md): Deno · 2023-08-16 · Medium · 7 min read · Frontend, Web performance, TypeScript
  Fresh 1.4 adds optional ahead-of-time asset compilation via \`deno task build\`, which serves island assets roughly 45-60x faster on serverless cold starts than on-the-fly JIT compilation; a ~30kB search island that took 4.28s now revives near-instantly.
- [Fresh 1.2 – welcoming a full-time maintainer, sharing state between islands, limited npm support, and more](https://swe.quest/articles/fresh-1-2-welcoming-a-full-time-maintainer-sharing-state-between-islands-ccf0a74d8fb68678.md): Deno · 2023-06-15 · Medium · 7 min read · Frontend, JavaScript, TypeScript
  Fresh 1.2 brings on Preact maintainer Marvin Hagemeister as full-time lead after a backlog of 60+ unreviewed PRs, and ships features centred on islands.
- [Fresh 1.0](https://swe.quest/articles/fresh-1-0-407c9d4b84f51b2c.md): Deno · 2022-06-28 · Medium · 5 min read · Frontend, JavaScript, TypeScript, Web performance, CDN & edge
  Fresh is a full stack web framework for Deno that renders pages just-in-time on the server and ships zero JavaScript to the client by default, using the islands architecture so only explicitly opted-in components are hydrated in the browser.
- [Fresh 1.5: Partials, client side navigation and more](https://swe.quest/articles/fresh-1-5-partials-client-side-navigation-and-more-9cde9f664f462089.md): Deno · 2023-10-10 · Medium · 7 min read · Frontend, JavaScript, TypeScript
  Fresh 1.5 introduces Partials, a client-side navigation model where marked regions of a page are swapped with server-rendered HTML without a full reload, preserving island state.
- [Fresh 1.1 - automatic JSX, plugins, DevTools, and more](https://swe.quest/articles/fresh-1-1-automatic-jsx-plugins-devtools-and-more-546b7dc860fe9b32.md): Deno · 2022-09-08 · Medium · 7 min read · Frontend, TypeScript, JavaScript
  Fresh 1.1, Deno's zero-client-JS, no-build-step web framework, switches new projects to automatic JSX via the deno.json jsxImportSource setting.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
