+htmx 2.0 to 4.0 Changes
+
+htmx 4.0 uses the fetch() API instead of XMLHttpRequest. This enables built-in streaming response support and simplifies the implementation of htmx, but does create some significant changes between the two versions.
+
+
+
+At the core of htmx are two attributes that allow you to issue fetch()-based AJAX requests directly from HTML:
| Attribute | Description |
|----------------------------------------|---------------------------------------------------------------------------------------------------------|
| [hx-action](@/attributes/hx-action.md) | Specifies a URL to issue the request to |
| [hx-method](@/attributes/hx-method.md) | Specifies the [HTTP Method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Methods) to use |
-They can be used like so:
+These attributes can be used like so:
```html