Updating Our URL & Populating Filter Field Values

@tomgobich
Published by
@tomgobich
In This Lesson

We'll learn how we can use HTMX to easily update our URL via our AdonisJS response. Then, we'll use our URL's query string to pre-populate our filter form field values.

Join the Discussion 6 comments

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

    As always, I learned a lot :)

    When do you plan to continue the series on Inertia?

    1
    1. Responding to Jean
      @tomgobich

      Thank you, Jean! :)

      I put this series on pause when it was announced V1 of Inertia would be released, out of fear it would invalidate what we already had and I'd have to restart. I still need to re-evaluate what has changed and whether I need to restart the series.

      0
  2. @Rene

    This is awesome. Thank you very much!

    1
    1. Responding to Rene
      @tomgobich

      Thank you, Rene!

      0
  3. @frp

    this looks really cool. I had never heard of htmx. With htmx you can get an SPA feel with Edge templates.

    1
    1. Responding to frp
      @tomgobich

      Yeah, absolutely! This site is actually built using Unpoly, which is in the same hypermedia category as HTMX. All our pages are rendered using EdgeJS despite our pages loading like a SPA and our player sticking with you throughout the site while it's playing.

      1