---
title: "Miroslav Slapka (@miresk) | Hashnode"
description: "Web developer focusing on front-end technologies. Read the latest articles by Miroslav Slapka on Hashnode."
url: "https://hashnode.com/@miresk"
---

@miresk

# Miroslav Slapka

@miresk · Prague · Joined May 2021

Web developer focusing on front-end technologies

### [Photography portfolio built with Astro](https://blog.mairo.eu/photography-portfolio-built-with-astro?utm_source=hashnode&utm_medium=feed)

The challenges and lessons learned

7 min read · [blog.mairo.eu](https://blog.mairo.eu/photography-portfolio-built-with-astro?utm_source=hashnode&utm_medium=feed)

[Oct 13, 2023](https://hashnode.com/posts/photography-portfolio-built-with-astro/652902a358f99b1275aa69f1)

### [Angular containers and inheritance](https://blog.mairo.eu/angular-containers-and-inheritance?utm_source=hashnode&utm_medium=feed)

I used to pass services to constructor of the component in the following way: import {MyServiceA} from './myServiceA'; import {MyServiceB} from './myServiceB'; import {MyServiceC} from './myServiceC'; export class MyComponent { constructor( pr...

2 min read · [blog.mairo.eu](https://blog.mairo.eu/angular-containers-and-inheritance?utm_source=hashnode&utm_medium=feed)

[Jul 3, 2022](https://hashnode.com/posts/angular-containers-and-inheritance/62c19087c0401b3dcbcfa35d)

### [5 ways to check if Javascript Array is empty](https://blog.mairo.eu/5-ways-to-check-if-javascript-array-is-empty?utm_source=hashnode&utm_medium=feed)

plus Typescript tip

4 min read · [blog.mairo.eu](https://blog.mairo.eu/5-ways-to-check-if-javascript-array-is-empty?utm_source=hashnode&utm_medium=feed)

[Mar 26, 2022](https://hashnode.com/posts/5-ways-to-check-if-javascript-array-is-empty/623f082cda7e98a4a2387769)

### [How to load data before your Angular app starts](https://blog.mairo.eu/how-to-load-data-before-your-angular-app-starts?utm_source=hashnode&utm_medium=feed)

Using APP\_INITIALIZER

3 min read · [blog.mairo.eu](https://blog.mairo.eu/how-to-load-data-before-your-angular-app-starts?utm_source=hashnode&utm_medium=feed)

[Jan 29, 2022](https://hashnode.com/posts/how-to-load-data-before-your-angular-app-starts/61f583d36bb59d5767db6eb3)

### [Safari is the new Internet Explorer](https://blog.mairo.eu/safari-is-the-new-internet-explorer?utm_source=hashnode&utm_medium=feed)

A short rant about poor DX/UX

3 min read · [blog.mairo.eu](https://blog.mairo.eu/safari-is-the-new-internet-explorer?utm_source=hashnode&utm_medium=feed)

[Dec 31, 2021](https://hashnode.com/posts/safari-is-the-new-internet-explorer/61cf266ab9f0453f6d322116)
