JS Blog Software development, entertainment, lifestyle.

AuthorJernej

First impressions of ASUS X540UV

F

Yesterday a new laptop arrived at home. It’s a budget one and I spotted a pretty good deal with 90 € off. I’ve decided for a purchase because the previous has been acting funny recently with on and off weird issues with display. It still works and does the job but with external monitor pluged-in. So it has became a stationary one which defeats the purpose of laptops. The first think I...

On MobX Redux dilemma

O

In my experiences using MobX as a state management library produces less code and lets you get things done quicker (two-folded knife!) but with Redux you get a lot of stuff for free – most notable is scalable approach to architecture and maintenance of web applications. I personally prefer Redux also because it’s functional like React which puts a lot of emphasize on functional...

Wolf Children review

W

Japanese Wolf Children from 2012 may seem like a cartoon but this two-hour long animated movie deals with pretty adult themes. It centers around mother who raises her two children in a remote house under the mountain and in the absence of their father. She’s doing everything in her power to learn new things and how to provide for her children despite their secrets which can make their life...

New React Context API

N

I like new react API for creating and using context. It feels right. One thing I immediately tried to do was creating a helper which simplifies consuming multiple contexts. Because they create context hell. When you component uses more than one context and because of a children as a function pattern (which is basically the same as render props pattern where component’s children function is...

Goroutines don’t panic if channel they write to is gone

G

Couple of months ago I wrote an article about error handling in concurrent Go programs. One concern I had about it was if other goroutines would panic if some goroutine produces an error value which causes return from function when the channel is iterated with range construct. So I made another program that mimics scenario. It spawns couple of goroutines, each taking a second more to complete...

JS Blog Software development, entertainment, lifestyle.

About me

Jernej Sila portrait
Hi, I'm Jernej, a software engineer from Slovenia. Welcome to my personal blog. For more about me, my work and hobbies, please visit my profile page.

Categories

Archives