Тёмный

How to add Cookie Notice Banner to React app 👨‍💻 

Tuomo Kankaanpää
Подписаться 9 тыс.
Просмотров 23 тыс.
50% 1

Опубликовано:

 

16 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@johnmaleek6879
@johnmaleek6879 Год назад
Exactly what I was looking for. Simple and short. Thanks a lot 👍
@TuomoKankaanpaa
@TuomoKankaanpaa Год назад
Great to hear!
@jonathansoemer9091
@jonathansoemer9091 3 года назад
Short and everything what it needs. Very good 👏
@TuomoKankaanpaa
@TuomoKankaanpaa 3 года назад
Great, thanks!
@GuilhermeOliveira-gz9vo
@GuilhermeOliveira-gz9vo 3 года назад
Very good tutorial, nice timing, nice explanation!
@TuomoKankaanpaa
@TuomoKankaanpaa 3 года назад
Thanks great to hear!
@typhon88
@typhon88 5 месяцев назад
Thanks for the knowledge :)
@TuomoKankaanpaa
@TuomoKankaanpaa 5 месяцев назад
Glad I could help!
@FingleAnimes
@FingleAnimes 3 года назад
Great! Thank you!
@TuomoKankaanpaa
@TuomoKankaanpaa 3 года назад
You bet!
@sunnyy6295
@sunnyy6295 8 месяцев назад
What is the use . Can't we simply use cookies storage?
@rahil_lakhani
@rahil_lakhani 2 года назад
I can't thank you enough, Tuomo Kankaanpää. I thought that I will end up wasting 10-12 hours in just finding the best GDPR solution for normal website and then wasting time in how to implement it successfully; let alone design it per the Website theme. Your instructions made it too easy that I can't believe that I was able to do it in one go without wasting any time. Very well explained!
@TuomoKankaanpaa
@TuomoKankaanpaa 2 года назад
Thank you! I’m happy that you found the video helpful :)
@Cinthiasaraiva
@Cinthiasaraiva 2 года назад
thank you, nice tutorial
@TuomoKankaanpaa
@TuomoKankaanpaa 2 года назад
Cheers!
@mufassirshah9376
@mufassirshah9376 3 года назад
I'm wondering if this is even GDPR complaint, the user have no other choice but to agree which is not advised. Also I don't understand the number of download per week for this package, as they are not doing more then saving few cookies. They should at least add an option for the user preferences and give them a better chance to allow or block certain cookies.
@TuomoKankaanpaa
@TuomoKankaanpaa 3 года назад
I'm not an GDPR expert so can't really say for sure if it's GDPR compliant. Some kind of option for the user preferences would be nice as you suggested but they have an option for adding a decline button and a click handler for it so you can use that to do your own customisation if user does not agree, if it's something you want.
@plecxcherlona3514
@plecxcherlona3514 2 года назад
Awesome! 🎉
@TuomoKankaanpaa
@TuomoKankaanpaa 2 года назад
Cheers!
@simrandubey2596
@simrandubey2596 2 года назад
it was useful thank u so much🙂
@TuomoKankaanpaa
@TuomoKankaanpaa 2 года назад
Cheers!
@sahilnevalkar8571
@sahilnevalkar8571 Год назад
How to style and edit text in decline button
@dragosp.7635
@dragosp.7635 2 года назад
thanks bro
@TuomoKankaanpaa
@TuomoKankaanpaa 2 года назад
Cheers!
@ayush7099
@ayush7099 3 года назад
How can i add a custom accept button here. i am able to set the cookie but the bar is not hiding on its own after clicking the custom accept button
@TuomoKankaanpaa
@TuomoKankaanpaa 3 года назад
Make sure you are not passing the debug={true} prop. When you pass true for the debug prop, the banner will always be displayed.
@srinivasaravivarmagottumuk6323
@srinivasaravivarmagottumuk6323 3 года назад
Hi, when i tried to use the expires prop with 365, and try to refresh the page cookies banner is displaying back.. Is it correct case? if any suggestion pls do reply.
@TuomoKankaanpaa
@TuomoKankaanpaa 3 года назад
Make sure you are not passing the debug={true} prop. When you pass true for the debug prop, the banner will always be displayed.
@srinivasaravivarmagottumuk6323
@srinivasaravivarmagottumuk6323 3 года назад
@@TuomoKankaanpaa thanks for your quick response,It worked.
@TuomoKankaanpaa
@TuomoKankaanpaa 3 года назад
Great!
@raygarhe1481
@raygarhe1481 2 года назад
@@TuomoKankaanpaa Thanks for clarifying. When I set , the cookie does not show at all. May I ask how to solve it?
@raygarhe1481
@raygarhe1481 2 года назад
Hey man, may I ask how did you solve it? did you just change 'true' to 'fault'?
@Ahmadavocado
@Ahmadavocado 2 года назад
keep getting self is not defined
@eakzit3181
@eakzit3181 2 года назад
Thanks for introducing the npm lib, but..."debug={true}" vs just "debug". I understand that is not the point, but maaaaan
Далее
3 Javascript Mistakes To Avoid
0:59
Просмотров 274
How to win a argument
9:28
Просмотров 542 тыс.
Какой звук фальшивый?
00:32
Просмотров 348 тыс.
Holding Bigger And Bigger Dogs
00:18
Просмотров 12 млн
Why you can't set cookies in Server Components
10:58
Why I'd never host my apps on a VPS
13:43
Просмотров 46 тыс.
WordPress Cookie Plugin kostenlos
17:11
Просмотров 14 тыс.
The Google Analytics Cookie (Explained)
11:55
Просмотров 14 тыс.
Web Developer Portfolio - 9.5/10 (Front End, React)
11:54