bigskysoftware / bigskysoftware/htmx-extensions
hx-ext="sse" elements should include hx-vals attributes as query params
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 284
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Description
I want to be able send some dynamic query params as part of an sse request like so:
```
Contributor guide
Research direction
Start in src/sse/sse.js at the EventSource connection handling around lines 178-185 and 191-192, then reproduce the example using sse-connect and hx-vals="js:{dynamicValue: foo()}". Confirm that the generated connection URL includes the hx-vals values as query parameters while retaining the existing sse-connect behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100