❯ READ MORE

by Artur Woźniak

Jul 01, 2020

Quick Tips
Quick Tips: how to render components conditional?

Hello again! I like to keep my promises — that is why in this quick tip, I will present a way to render different components when you click/chose a specific option from navigation.

❯ READ MORE

❯ READ MORE

by Artur Woźniak

Jun 03, 2020

Quick Tips
Quick Tips: using forwardRef to measure element height dynamically

Hello there :) Last time, I promised to explain why I used React.forwardref() in the Navigation component.

❯ READ MORE

❯ READ MORE

by Artur Woźniak

May 13, 2020

Quick Tips
Quick Tips: add and remove active style

In this quick tip, I would like to show an easy way to add an active style to any HTML element.

❯ READ MORE

❯ READ MORE

by Artur Woźniak

Apr 27, 2020

Development
How to resize an image to fit an HTML container

In this article, I would like to present how to resize an image to fit a HTML container. The most popular approach is to add object-fit property to img tag, we will use it as well, plus we will add other CSS properties.

❯ READ MORE

❯ READ MORE

by Artur Woźniak

Mar 30, 2020

Development
How to style with styled-components

There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton

❯ READ MORE

Back to top