During the summer, I decided to test a few frontend frameworks to see what’s going on in this space and form a better opinion over alternatives to React. I tested Svelte because after hearing from it I felt attracted to it, Vue because it is popular, React to have …
With all the hype around AI and since I had time to spare, I decided to test some AI coding assistants to make my own opinion about them. I'll start by giving my opinion on each assistant I tried. I will be a bit fuzzy, since I didn't intend to …
Today I'd like to dig a bit on enums in TypeScript and their potential alternatives. For this, I'll be using the playground and TypeScript 5.1.6 (latest released version when I am writing this). I expect you to know what enums are and to be comfortable in TypeScript.
If you need to load a specific font in a component, you can use this hook. It will return true when the fonts are loaded. It relies on the document.fonts API to load the fonts. If the fonts are already loaded, the promise will be fulfilled immediately and the …
Today I'd like to explain how I tried to solve a weird HTTP issues that I found at work. I hope you will find the method and the trials I used the useful/interesting if/when you will encounter something similar.
The issue was this: I needed to dynamically generate …
If you deploy multiple Django websites on your infrastructure on various subdomains, you may get issues with invalid CSRF tokens. This is happening either because:
You erase the cookie by using the same domain. For instance, if you have your prod API at api.jujens.eu and pre-production one at …
I currently work in a small startup with two other developers. We have three projects: an API written in Python with the Django web framework, a big React app and a website written with NextJS. All these projects are in the same git repository. This allows us to easily share …