The Winter Throat

I like to occasionally write articles about things that pique my interest at work, or opinions that I form over the years.
Immutability with Immer

Immutability with Immer

🇺🇸 englishPublished December 2018 (at 28)#react1279 words4 mn to read

Why immutability? When working on a React application that needs to handle state, one of the main pitfalls to watch out for is accidental mutations. Which is fancy talk for mistakenly modifying stuff you didn't want to change: In this case, imagine we're in a Profile form, user holds the current user information and we want to create an updated user object with the modified attributes. As you ca...

Using Prettier in PHP

Using Prettier in PHP

🇺🇸 englishPublished November 2018 (at 28)#php1390 words5 mn to read

What is Prettier? Originally from the Javascript ecosystem, if you're not familiar with it Prettier is a code formatter, which means it takes your code, and makes it as its namme indicates prettier. There are a lot of code formatters, and for a lot of languages – even Javascript has quite a few of them. But Prettier is currently one of the most popular code formatters out there and it has spread...

Don't Notion shine when she's gone?

Don't Notion shine when she's gone?

🇺🇸 englishPublished July 2018 (at 28)#productivity2513 words8 mn to read

I like to think I'm a rather organised person. Not in every aspect of my life and not to the same extent in each, but I try my best to keep my thoughts in line. The problem with this, unfortunately, is that there is such a thing as counterproductive organisation. That is, the moment you're organised in such a fractured and unreliable way, that it becomes harmful to your end goal. It doesn't start...

The Winter Throat

Blog

Back

I like to occasionally write articles about things that pique my interest at work, or opinions that I form over the years.
Immutability with Immer

Immutability with Immer

🇺🇸 englishPublished December 2018 (at 28)#react1279 words4 mn to read

Why immutability? When working on a React application that needs to handle state, one of the main pitfalls to watch out for is accidental mutations. Which is fancy talk for mistakenly modifying stuff you didn't want to change: In this case, imagine we're in a Profile form, user holds the current user information and we want to create an updated user object with the modified attributes. As you ca...

Using Prettier in PHP

Using Prettier in PHP

🇺🇸 englishPublished November 2018 (at 28)#php1390 words5 mn to read

What is Prettier? Originally from the Javascript ecosystem, if you're not familiar with it Prettier is a code formatter, which means it takes your code, and makes it as its namme indicates prettier. There are a lot of code formatters, and for a lot of languages – even Javascript has quite a few of them. But Prettier is currently one of the most popular code formatters out there and it has spread...

Don't Notion shine when she's gone?

Don't Notion shine when she's gone?

🇺🇸 englishPublished July 2018 (at 28)#productivity2513 words8 mn to read

I like to think I'm a rather organised person. Not in every aspect of my life and not to the same extent in each, but I try my best to keep my thoughts in line. The problem with this, unfortunately, is that there is such a thing as counterproductive organisation. That is, the moment you're organised in such a fractured and unreliable way, that it becomes harmful to your end goal. It doesn't start...