
Top level expression is expected to have unit type
Error message

Functor Bindings for Polymorphic Functions
Using Rescript's module functions

Convert polyvariants to string
And polyvariants back to string

Belt.Array vs Js.Array in Rescript
You might have noticed that there are several ways in Rescript for iterating through elements of an array. It’s not at all obvious which one…

How to handle multiple modals in React
without conditional rendering

React state not updating immediately?
useState & useReducer

Function vs Class Components in React
Hooks vs lifecylces

Layout Margins in Styled-Components
How to avoiding creating too many margin wrappers?

Passing Props through Link in react-router
url parameters, state and no state, v5 and v6

Truly Protected React Routes
Secure authentication in React

Conditionals in styled-components
Part 4, on "How to Make Styled-Components More Readable"

Reusable Media Queries with styled-components
DRY breakpoints

How to choose a way to style your javascript app
Styled-components, BEM + vanilla CSS, CSS modules, theme-ui....

Differentiating between a styled-component and a React component
Part 3, on "How to Make Styled-Components More Readable"

Do you feel it's messy to mix logic and styles?
Part 2, on "How to Make Styled-Components More Readable"

Easily debug styled-components' random classes
Part 1, on "How to Make Styled-Components More Readable"

Real life styled-components projects
Diving into Spectrum's styled-components source code

When to use the useReducer() hook?
Why using useReducer when you can use the useState() hook?