Blue Desk

Rodrigo’s blog.

Saturday, April 15, 2023

Testing GitHub pull requests before merging

›
My personal projects on GitHub oftentimes. It’s very flattering when other people get interested in your personal work, and actively use it...
Thursday, February 9, 2023

Fetch calls with global Jotai object

›
Zustand is a great React state management library, but it has the drawback of not having a standard way to define getters, which must be de...
Tuesday, December 6, 2022

The three rules of lifetime elision in Rust

›
While reviewing some Rust fundamentals, I stumbled across this excellent video about lifetimes. What caught my attention the most was the “...
Wednesday, October 5, 2022

Zustand computed values

›
This week I’ve faced some situations with Vue’s reactive that alarmed me. I’m finding the hard way what I’ve read a couple times: reactive ...
Wednesday, September 28, 2022

Multiple className values in React

›
React offers basically zero support for CSS. Personally I’m fond of CSS Modules along with SCSS instead of the slow CSS-in-JS solutions ou...
Thursday, July 21, 2022

Sizes of Windows integral types

›
While developing WinSafe , it’s very common to convert the Windows integral data types to their Rust equivalent. Care must be taken, howeve...
Tuesday, July 19, 2022

Default props in React function components

›
Having default props in a React component is a rather common situation. The most popular way to accomplish this is to pass the default value...
Thursday, July 7, 2022

Extending built-in TypeScript objects in Vite

›
Checking whether an array is empty is a rather common operation. The usual way to do this in TypeScript is by checking the length property,...
Wednesday, June 22, 2022

Checking if user passed a slot in Vue

›
In Vue 3 with the Composition API, there is no this.$slot entry to programmatically poke on the slots. You must summon the slots by calling...
Tuesday, June 21, 2022

Global useState hooks with Jotai

›
I’ve been stressing out several React global state libraries in the past months. Last week it was Jotai ’s time. I liked the concept of “a...
Wednesday, June 1, 2022

React high-order useEffect wrappers

›
As I was increasingly upset with the lack of variable highlighting in Volar , I started doing some React experiments. In particular, I fou...
Monday, May 23, 2022

Cross-compiling Rust in Windows

›
After making a lot of confusion with Rust cross-compiling, I finally managed to compile WinSafe x32 programs in my Windows x64. The root of...
‹
›
Home
View web version
Powered by Blogger.