---
title: "Andrey Lechev (@leechy) | Hashnode"
description: "Some frontender thoughts. Read the latest articles by Andrey Lechev on Hashnode."
url: "https://hashnode.com/@leechy"
---

@leechy

# Andrey Lechev

@leechy · Joined November 2020

Some frontender thoughts

[Website](https://leechy.dev/)

### [Running promises sequentially](https://leechy.dev/running-promises-sequentially?utm_source=hashnode&utm_medium=feed)

Today's JavaScript is asynchronous. Like, all of it. If a few years ago, there were a lot of discussions about data transformations. Today's most important topics are all about, should app await, or respond instantly to the user and redraw later when...

3 min read · [leechy.dev](https://leechy.dev/running-promises-sequentially?utm_source=hashnode&utm_medium=feed)

[Nov 17, 2020](https://hashnode.com/posts/running-promises-sequentially/5fb3e547a73df361ab711263)

### [How to copy, delete, or move a document in Firestore](https://leechy.dev/firestore-move?utm_source=hashnode&utm_medium=feed)

To move a Firestore document from one collection to another, including all existing sub-collections, we will need a Cloud function that copies all documents and then delete existing ones. In this post, you'll find working functions to use with some e...

6 min read · [leechy.dev](https://leechy.dev/firestore-move?utm_source=hashnode&utm_medium=feed)

[3](https://hashnode.com/posts/firestore-move/5fb19e0b03f7294d0e3a8ab9) [Nov 15, 2020](https://hashnode.com/posts/firestore-move/5fb19e0b03f7294d0e3a8ab9)

### [How to keep \`this\` pointing to the Stencil component with a DOM event?](https://leechy.dev/stencil-jsx-no-bind?utm_source=hashnode&utm_medium=feed)

I'm continuing to play with Stencil.js. This time I'm working with forms. One of the main things we can do with any form is submitting the data. And because we are not going to reload the page, we have to intercept the submit event and do something w...

4 min read · [leechy.dev](https://leechy.dev/stencil-jsx-no-bind?utm_source=hashnode&utm_medium=feed)

[Oct 18, 2020](https://hashnode.com/posts/stencil-jsx-no-bind/5fb017fc25decf4615018af2)

### [Avoid render of the children in the Stencil.js components](https://leechy.dev/hide-stencil-children?utm_source=hashnode&utm_medium=feed)

If you are used to React.js components, you know that you are deciding to show or not the children elements. And if you don't put { children } in your output, there will be nothing on the page, plus the components themselves are not going to run thei...

2 min read · [leechy.dev](https://leechy.dev/hide-stencil-children?utm_source=hashnode&utm_medium=feed)

[Sep 28, 2020](https://hashnode.com/posts/hide-stencil-children/5fb0153125decf4615018ac0)

### [Using AVIF as a background image](https://leechy.dev/avif-as-background?utm_source=hashnode&utm_medium=feed)

Well, you probably already heard that AVIF has landed. If not, click on the link and read. But there is a problem with all these new file formats. Despite their support by the element, when you want to use it as a background image — you don't have a ...

1 min read · [leechy.dev](https://leechy.dev/avif-as-background?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/avif-as-background/5fb00eb739a1f54636490771) [Sep 11, 2020](https://hashnode.com/posts/avif-as-background/5fb00eb739a1f54636490771)
