You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Hogan.js custom attributes were possible. For example, adding custom click handler syntax to an anchor tag from 3rd party libraries like alpine.js https://alpinejs.dev/directives/on
For now, a workaround would be using the spec-compliant x-on instead of @. I believe this is because we previously used innerHTML, while now setAttribute is used (and @something isn't a valid attribute)
For now, a workaround would be using the spec-compliant x-on instead of @. I believe this is because we previously used innerHTML, while now setAttribute is used (and @something isn't a valid attribute)
🐛 Current behavior
using Hogan.js custom attributes were possible. For example, adding custom click handler syntax to an anchor tag from 3rd party libraries like alpine.js https://alpinejs.dev/directives/on
Now when upgrading to HTML templates due to Hogan deprecation (https://www.algolia.com/doc/guides/building-search-ui/upgrade-guides/js/?client=html+tagged+templates#upgrade-templates), the following error is thrown:
🔍 Steps to reproduce
follow the upgrade guide to replace them either with safe HTML strings using the provided html tagged template, or JSX templates as described above
Live reproduction
sandbox.dynaprice.com
💭 Expected behavior
allow for custom attributes on dom elements.
Package version
"instantsearch.js": "^4.49.1"
Operating system
Windows 10
Browser
Chrome v. 109.0.5414.74
Code of Conduct
The text was updated successfully, but these errors were encountered: