Tag: javascript (All the posts with the tag "javascript")
- Why I would choose session based auth over JWT This is a frontend engineer's guide over why he would choose session based auth over JWT. I have mentioned all the pain points that I have faced with JWT and why I would prefer session based auth over JWT.
- Treat Errors as First-Class Citizens In this article, we will discuss how to treat errors as first-class citizens in your application. We will explore how to handle errors gracefully and provide a better developer experience.
- Forget about ref forwarding in React In earlier React versions, they introduced a new feature called ref forwarding. It allows you to pass a ref from a parent component to a child component. This article explains why you should not use it.
- Why I'm scared of useEffect useEffect is a great hook and I used it a lot for almost all the problems I had to solve. But it's not perfect and it can be a source of bugs.