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

πŸ‡ΊπŸ‡Έ englishDecember 2018 (at 28)#react#writing1279 words4 mnto 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 ...

Using Prettier in PHP

Using Prettier in PHP

πŸ‡ΊπŸ‡Έ englishNovember 2018 (at 28)#php#writing#learning#technology1390 words5 mnto 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 sp...

Don't Notion shine when she's gone?

Don't Notion shine when she's gone?

πŸ‡ΊπŸ‡Έ englishJuly 2018 (at 28)#productivity#writing2493 words8 mnto 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

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

πŸ‡ΊπŸ‡Έ englishDecember 2018 (at 28)#react#writing1279 words4 mnto 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 ...

Using Prettier in PHP

Using Prettier in PHP

πŸ‡ΊπŸ‡Έ englishNovember 2018 (at 28)#php#writing#learning#technology1390 words5 mnto 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 sp...

Don't Notion shine when she's gone?

Don't Notion shine when she's gone?

πŸ‡ΊπŸ‡Έ englishJuly 2018 (at 28)#productivity#writing2493 words8 mnto 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...