Build a SolidJS app with Deno
A dinosaur catalog app built with SolidJS on the frontend and a Hono API on Deno, scaffolded with Vite via `deno init --npm` and dependencies added from JSR and npm with `deno add`. The walkthrough covers `deno.json` tasks (including Deno 2.1's object-form tasks with descriptions and dependencies), JSX compiler options for Solid, a Vite dev proxy to the API, and two routed pages. It highlights how SolidJS differs from React: signals read as function calls, `For` instead of map, `A` links, and `@solidjs/router` for dynamic routes.
Related posts
- Build Apps in Deno with Frameworks such as React, Vue, Express, and more.
Deno mediumAdeptDeno 1.28's npm support lets you use npm-distributed frameworks like Express, React and Vue directly via `npm:` specifiers. You don't need package.json, node_modules or a separate install step, and Deno's built-in toolchain is available throughout. Step-by-step examples build a dinosaur API with Express. They then build the same dinosaur list/detail app in React (Vite scaffold via create-vite-extra, an Oak backend with CORS, react-router-dom) and in Vue (reactive store, Suspense, vue-router).
- Build an Astro site with Deno
Deno mediumAdeptDeno 2's Node and npm compatibility lets you scaffold and run an Astro project entirely with Deno tooling: `deno -A npm:create-astro@latest` to scaffold, `deno install --allow-scripts` for dependencies, and `deno task dev` to run package.json scripts. The walkthrough builds a small dinosaur site with an index page generated from a JSON file and a dynamic SSR route (`[dinosaur].astro`) that reads `Astro.params` and redirects to 404 for unknown entries. One caveat: the Deno language server doesn't yet support `.astro` files, so editors may show false errors.
- A Whole Website in a Single JavaScript File
Deno mediumAdeptA demo multi-page website fits entirely in one JavaScript file and is server-rendered on demand at the edge with Deno. Routing uses a small `router` module built on `URLPattern`, and JSX is rendered server-side with `nanossr`, which styles via twind. Triple-slash reference comments select exactly which TypeScript libs (dom, dom.asynciterable, deno.ns) are loaded. Hosted on Deno Deploy, the site gets a perfect PageSpeed score and is served from 29 data centers over an anycast IP at no cost.
- Build a dinosaur runner game with Deno, pt. 1
Deno mediumAdeptPart one of a series building a browser dinosaur runner game sets up a Deno project that serves static files and deploys it. It covers `deno init`, adding the Oak framework from JSR, defining `dev` and `start` tasks in deno.json with explicit `--allow-net`/`--allow-read`/`--env-file` permissions, and a minimal Oak server that serves `public/` via `context.send`. It also adds an `/api` router with a health check endpoint, then deploys with `deno deploy` using `src/main.ts` as the entry point.
- Fresh 1.1 - automatic JSX, plugins, DevTools, and more
Deno mediumAdeptFresh 1.1, Deno's zero-client-JS, no-build-step web framework, switches new projects to automatic JSX via the deno.json jsxImportSource setting. It also adds a first plugin system for injecting styles and scripts, with an official Twind plugin that drops the tw wrapper, plus Preact Signals and Preact DevTools support. Route handlers can call ctx.renderNotFound(), and middleware files can export an array of stacked handlers. Experimental Deno.serve support is opt-in via experimentalDenoServe. An update script with codemods migrates existing projects.