What's going on in < / > world
"Easy is boring. That's why I love the web and browsers." - Remy Sharp

Hello, you're reading Infinum Frontend Cookies, bringing you the latest JavaScript and CSS related news straight to your inbox every week.
How to use React Hooks in class components
What can you do if you want to use Hooks logic inside a class component, but there's no option to rewrite that class to Hook?
Read More
Libs & Tools
The task library that just works
Rich Harris writes about a nice, safe topic that's free of controversy: web components.
If you find yourself wrestling with CSS layout, it’s likely you’re making decisions for browsers they should be making themselves. Through a series of simple, composable layouts, Every Layout will teach you how to better harness the built-in algorithms that power browsers and CSS.
You should always use Web Workers. And in our current landscape of frameworks it’s virtually impossible.
In this article, we cover another feature that we can implement with the help of Service Workers – Push Notifications. They come in handy if we need a fast channel of communicating with our users.
For beginners
Date is weird in JavaScript. It gets on our nerves so much that we reach for libraries (like Date-fns and Moment) the moment (ha!) we need to work with date and time.
Hello from the server side
In this blog post you can understand Worker Threads, how Node.js is structured and some examples on how to use it.
Spec of the week
There are four promise combinators in JavaScript: Promise.all, Promise.race, Promise.allSettled, and Promise.any.