hjertnes.blog

#

17.01.2018 01:00

I’m not reinstalling the Slack app.

#

17.01.2018 01:00

My favourite OS X hacks: map caps lock to shift and hiding desktop icons.

#

17.01.2018 01:00

Installed the new firmware for my X-Pro 2 last night. It’s kind of weird that they actually add new features and improve the existing ones. Canon would never do that, and Sony would just release a new camera.

#

17.01.2018 01:00

Weird thought.

What if Amazon combined their recommendation engine with photo hosting and a dating service?

#

17.01.2018 01:00

I’m not sure if I’m going to re-configure Spark, after my OS X re-install. I’m going to stick with webmail for a while.

Component Design

17.01.2018 01:00

How you design your components will affect a large number of different things, everything from performance to how maintainable your code is. It will never be perfect, and don’t try to get it right form the start. It will just kill your productivity.

Use PureComponent instead of Component as your base class, it will limit the number of re-renders and therefore improve your apps general performance. And learn how to develop using many small components instead of fewer large ones, because then the browser will spend much less resources on rendering. If everything is in one large render function (aka a component) then your browser will run through all of it every time something change, but it will only have to run through a smaller part of it if you have divided it into many smaller components.

Smaller components are also usually easier to make re-usable.

#

16.01.2018 01:00

Top 5 BuJo Ideas in 2017 - Bullet Journal 🤦‍♂️ Write Bullet Journal like every other self respecting adult would.

#

16.01.2018 01:00

“fucking snow…”

#

16.01.2018 01:00

#

16.01.2018 01:00

Testing out feedbin, it feels like cheating