Comments (5)
I don't have any experience with cookies and also by adding this we would have to add a warning telling the user that we are storing cookies :(
I'm super okay with this but I don't have the experience to do this
from awesome-talks.
I'm super okay with this but I don't have the experience to do this
Now thats weird, the Great @SaraVieira don't have experience with cookies, i thought she like cookies too ..
Well, i'll try to do this tonight, tbh there's no way we could achieve this without cookies as we doing SSR. I mean we could do something like storing user ip & settings in server but that'll be too much stuff tbh , and yes we have to add that warning thing, Thanks to EU Cookie Law
from awesome-talks.
I like to consume them, not create them :p .
Here are is a package for the law:
https://github.com/buildo/react-cookie-banner
Just saw that we use cookies for favorites, watched and also check if you like dark mode and saw this banner already ahah
from awesome-talks.
I like to consume them, not create them :p .
But you should know how to create them too. You never know when you have to :P
Anyway we could totally avoid using that package if you wanted too as all it doing is creating a CookieBanner component and setting a cookie when user sees it so that user never sees that again until the cookie expires , just too many dependencies, just sayin
And for handling cookies we could do this own our own but that will be too many regex & stuff on document.cookie
instead we could use something like this, it makes things alot simple
https://github.com/js-cookie/js-cookie
from awesome-talks.
done in #89, Closing now .
from awesome-talks.
Related Issues (20)
- Yarn error! HOT 2
- Filters on the home page HOT 3
- Feature request: Add Date attribute HOT 3
- Add other speaker videos in Single Video Page HOT 2
- Bug: order for date pulls results in reverse order HOT 8
- [Question] Why does Importing Mutation in Resolver doesn't work but Copy-Pasting it works?
- Ask for video link instead of video ID in "Add a Talk" HOT 4
- deeplinks to video page not working HOT 2
- Categories page only render while reloading HOT 2
- Wrong Speaker info for Sarah Drasner HOT 1
- Site no longer accessible via https://awesometalks.party/ HOT 16
- Add new talk button keyboard functionality HOT 3
- Auto deployment
- Turn cinema mode into video page. HOT 1
- Text overflow HOT 2
- Video thumbnail image size HOT 4
- Just a thought: Notification when new content is published HOT 19
- Wrong Speaker info for Luke Bonaccorsi HOT 3
- Wrong Speaker info for Alan Kay HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-talks.