|
|
|
Show HN: React-cookie-banner – A cookie banner for React with minimal config
(github.com)
|
|
1 points
by bennett_dev
449 days ago
|
|
Hi HN, I built a React library that aims to simplify making websites GDPR-compliant with a fully integrated cookie banner solution. I found existing solutions to be too simple (just giving an "Accept" button which isn't compliant) or too complex (requiring a lot of configuration and setup or paid external services). With this library, services simply need to be wrapped inside a `CookieService` component and the library will take care of the rest, handling: - Displaying a cookie banner
- Managing/storing user consent
- Conditionally loading external scripts based on consent
- Google Consent Mode
- Multi-language support and customization Would love to hear thoughts, feedback, or suggestions! Live demo: https://vantezzen.github.io/react-cookie-banner/ |
|