I just released my first-ever tutorial on YouTube. Let me know what you think of it and what should I improve on 😅
#javascript#ecmascript#web#frontend
https://t.co/DVR6dmA5I9
I wonder if the JS performance conversation is misunderstood. Client-side update performance hasn't really moved in 5 years. The fastest frameworks haven't gotten any faster during this time. Some others have improved but nothing has really changed at the front. 1/
What 20’s me wanted: Stuff.
Nicer car
Nicer clothes
Nicer home
What 40’s me wants: Freedom.
Work when I want, where I want, on what I want, with who I want. Exercise, hang with friends & family, travel.
Realization: I’d rather have freedom and low stress than nicer stuff.
2022 Frontend security in 1 tweet:
1. Use HTTPs
2. Server render
3. Store JWT/token in 'secure', 'samesite', 'httponly' cookie (prevent XSS).
4. Declare content security policy (prevent XSS)
5. Regen cookies when user auths (prevent session fixation)
6. Set short cookie lifetime