Changed
- Updated htmx to version 2.0.3 (changelog).
- The fetch function is now called inside an event listener when calling
sprig.triggerRefreshOnLoad()
, making it more robust. - Reverted some variable method name changes to improve autocompletion in PhpStorm.
Fixed
- Fixed the ability to pass a JSON encoded string into the
sprig.triggerEvents()
function (#15).