Re: [csswg-drafts] [css-highlight-api] Feedback: the global string-keyed registry makes usage very hard (#11095)

For what is worth, the for project that I was working on when I opened this issue I ended up writing my own `LocalHighlightRegistry` that abstracts away the synchronization across different usages: https://jsr.io/@nic/local-highlight-registry.

It's working well for me, I encourage you and others to try it :) 

-- 
GitHub Notification of comment by nicolo-ribaudo
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11095#issuecomment-2447540195 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 30 October 2024 15:25:24 UTC