"I do not fear computers. I fear lack of them"
|
—
Isaac Asimov,
Author and Scientist
|
|
|
|
|
Have you ever created a Button component in React?! Well, if you have done your tiny share of React, I am sure it did happen! Well, did you ever wanted an easy way to allow your button component to accept all the properties that you could pass to a native <button> component and have those type-checked by TypeScript? If the answer is yes, make sure to read about this neat trick!
|
|
|
|
You may have heard of container queries and the new contain-level-3 spec which is currently in experimental browsers, but have you heard of style container queries, which are also a part of this (very exciting) spec?
|
|
|
|
All browsers add an 8px margin on the body element – it’s part of the w3c-recommended default stylesheet which browsers generally use as a starting point for their own ‘user agent’ styles. But why 8px? Where does that come from?
|
|
|
|
Is Redux dead?! Certainly not, but we cannot ignore the new wave of frontend state management libraries! In this article, the author explores modern approaches and patterns that can be found in libraries like Recoil, Jotai, Zustand, Valtio and how others like React tracked and React query fit into the ever evolving landscape.
|
|
|
|
There's lots of places in CSS to have complexity, but we tend to focus on selectors most of the time. Let's have a look at other places too.
|
|
|
|
Vite is quickly becoming the frontend tool of reference (and for good reasons, that's for sure!). Last week we saw the announcement of a new polished major release: Vite 3! Check out what's new and why you should make the switch to Vite (if you haven't done that already).
|
|
|
|
Are you having difficulties importing SVGs into your React app? This is a problem that many developers face, especially when setting up a new React app with a module bundler like Vite. In this article, you can learn a few different ways of importing SVGs in React and getting your favourite module bundler to play nice with it!
|
|
|
|