Posts

If you're like me and have a bunch of side projects, chances are that you also have a ton of node_modules folders taking up unnecessary space. This post will teach you how to delete them all at onc...
Held a workshop on frontend testing using Jest. The focus was on three more advanced scenarios of testing: context, async, and custom hooks. The entire workshop was also posted as a page on my devl...
I've decided to do more learning in public that's not only writing blog posts. Here is where I'll gather all my thoughts, learnings, and reminders regarding development and learning in general. htt...
Until yesterday I had never heard of env(safe-area-inset-bottom) in CSS. Here’s a way it can help us position fixed content while taking into account the safe area of devices with notches and/or ho...
Another year, another incomplete Advent of Code. However, in 2019 I had a total of 19 stars, but this year I got 40 stars. That's a 210% (!) increase and I'm super proud of that achievement. I used...
I like to take notes and collect my own thoughts about what I read. Luckily, the Kindle has a highlight feature that saves the text snippet in a file on the device so I built a serverless function ...
I love using Tailwind CSS and here's how you would integrate it in a ReScript project. Spoiler: It's almost exactly like how you would do it in JavaScript. https://willcodefor.beer/posts/how-to-add...
Building on our FFI knowledge from the last post we go through some of the most common patterns that we'll use while interfacing with third-party React libraries. You'll learn how to connect to: - ...
Taking a first look at how we can connect ReScript and JavaScript code. This is usually called a foreign function interface (FFI). This time by making a connector to JavaScript's localStorage. http...
Oh, now we need to move our state to be globally available. Let's move the useReducer code to a React context and use useContext instead. https://willcodefor.beer/posts/using-usecontext-in-reasonre...
Loading...