JavaScript Bundlers & Transformers
I’ve been using Next.js for a long time, from having to configure everything to now almost zero setup, so I took some time to explore the evolution of JavaScript ecosystem tools.
Nowadays, we almost...
2024
Vue Nuxt Dynamic Path Resolution Issue
<img :src="'~assets/cat.png'" />
this one doesn’t work
When I wanted to assign an image path through a variable for the <img> element, I noticed some inconveniences. At first, I thought about simply...
2024 |
Vue
use client doesn't guarantee complete client-side rendering
I tried to add window to the dependencies of a useEffect hook in a component declared with use client, but found it's not allowed during next build.
This will throw an error:
This builds normally...
2024 |
Nextjs
How SameSite, Same-Origin, and CORS Partially Block XSS and CSRF Attacks
I’ve read many articles on XSS, CSRF, CORS, and SameSite cookies before, but they were often presented separately, which sometimes left me feeling all mixed up. Therefore, I’ve compiled this overvi...
2024 |
HTTP