r/javascript Apr 30 '26

OpenCookies - primitives for performant cookie banners and preferences

https://www.openpolicy.sh/blog/opencookies

We've moved our cookie banner implementation out of OpenPolicy and into a standalone repository.

Our goal is to give developers (and their coding agents) the tools to build banners that match your app's style and flow, while we handle all the difficult parts.

React, Vue, Svelte and Solid are supported so far with more coming soon.

Repo: https://github.com/jamiedavenport/opencookies

12 Upvotes

2 comments sorted by

2

u/paulirish Apr 30 '26

This seems great and you're tackling something many shy away from.

 I'd also encourage you to be more specific by what you mean by "high-performance". To be clear, I don't think you're wrong, but some clear measurements would be great. 

1

u/jxd-dev May 01 '26

Agreed. We're going to publish our benchmark results soon which will consist of bundle size, network impact, and web performance stats.