htmx/TODO.md
2020-05-01 15:14:17 -07:00

1.1 KiB

<x/> HTMx

HTML Extensions

GOALS

  • Dependency-free implementation of intercooler.js-like HTML-driven AJAX functionality
  • Minimalist functionality, rely heavily on built in functionality
  • Support IE10+ ** CSS transitions only ** Pluggable event model
  • < 10k in .min form

TODOS

  • hx-swap="merge"
  • hx-swap-direct="merge"
  • hx-boost
  • hx-error-url
  • transition model for content swaps
  • history support
    • Implement LRU
    • Issue GET to restore content if there isn't a copy locally
  • sse support
  • delay (ic-trigger="keyup" ic-delay="1s")
  • change support
  • distribute on https://unpkg.com/
  • build website with 11ty
    • landing page
    • docs page
    • examples page (steal intercooler)
    • attributes page
    • events page
    • headers page

Unsupported Intercooler Features

  • local actions
  • all request parameters
  • all response headers except X-*-Trigger
  • dependencies
  • macros

RESOURCES