Ready to get started?

Join Adocasts Plus for $8/mo, or sign into an existing Adocasts Plus account, to get access to all of our lessons.

robot mascot smiling

Upgrading to Inertia 2

@tomgobich
Published by
@tomgobich
In This Lesson

During this series, InertiaJS release version 2 consisting of minimal breaking changes and several new features. In this lesson, we'll upgrade our packages to the latest for both InertiaJS & AdonisJS.

Please visit the InertiaJS documentation for the complete InertiaJS 2.0 upgrade guide.

Small Fix

At 6:15 we rename our exceptions prop to errors. This errors prop can & will be null if there aren't any errors in the flash message store, so please make this prop optional.

Join the Discussion 2 comments

Create a free account to join in on the discussion
  1. @memsbdm

    Hi Tom,
    Just wondering if you are going to upload the migration to Tailwind@4 when fully supported if there are some breaking changes! :)

    1
    1. Responding to memsbdm
      @tomgobich

      Hi memsbdm! I don't have any plans to do so at this point in time, but if there is enough desire for that I'd be happy to circle back. Updating to Inertia v2 was planned and accounted for in the planning of this series, as we knew ahead of time the breaking changes would be next to none and it'd mostly be feature additions. So the additions to the series there wouldn't be overly confusing.

      It does look like Shadcn-Vue now supports TailwindCSS 4, however, that does require updating to their new major version which switches from Radix Vue to Reka UI. They also seem to have dropped support for specifying a tsconfig location in that update.

      0