Dan Matthews

Hey, I'm Dan.

A web developer living in Cumbria, in the north-west of the UK. This blog is a mish-mash of things like code tutorials & tips, technology, outdoor persuits, posts about mental health, non-neurotypical issues, social issues and more.

  • You can use Svelte v5 with InertiaJS really easily TODAY.

    Svelte V5 is still in alpha, and a lot of things are still likely to change, but you can try it with InertiaJS today with ONE LINE of code changed. This means you get to play with Runes, Snippets, and more. How, then? Simply install the alpha preview of Svelte 5: npm install svelte@next Then, in...
  • Laravel Frontend Enums Package

    I've just published the first release of Laravel Frontend Enums - a little package to help you publish your PHP Enums to the frontend for use in your InertiaJS applications or with other libraries like Alpine.js. tl;dr Install the package: composer require intrfce/laravel-frontend-enums Add the...
  • Improve page responsiveness with lazy loading in InertiaJS

    Part of the attractiveness of A javascript single page app vs. the more traditional server-rendered ones is a perception of speed for the users - page loads and navigation can feel instantaneous while presenting loading states to the user to show them that something's happening, rather than just...