Vite.js Migrate React project from create-react-app to Vite.js Recently I had to replace create-react-app with Vite.js in one project at work. This is a thread of what I did to make that work:
Next.js #TIL disable Next.JS prefetching when you point to route.js You have to disable prefetching in component, when you point to the route created by route.js or route.ts.
Node.js #TIL How to connect into MongoDB in Node.js app with Mongoose Last week, I was learning MongoDB basics with Mongoose. I highly recommend the course linked below.
JavaScript Add leading zeros to a number in JavaScript My approach to add leading zeros to a number in JavaScript, based on StackOverflow research
JavaScript Get URL to Invidious from video on YouTube, directly from your bookmarks tab If you are currently watching video on YouTube and want to get a shareable link to not-so-spying Invidious instance, there is a very simple solution, that can live rent free in your bookmarks tab.
Personal 2022, as it was. Not gonna lie, this was a tough, challenging year in my personal life. On the other hand, I've never been happier than in 2022.
Today I Learned #TIL By-passing DRM restrictions on screenshoting with Firefox Firefox on Windows allows to take a screenshot of DRM-protected media.
JavaScript #TIL WebAPI: Intl.NumberFormat Recently I found very handful function for formatting numbers, currency or units — Intl.NumberFormat, which formats values for given language and region.