---
title: "danial Vafadar (@DanialV) | Hashnode"
description: "danial Vafadar (@DanialV) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@DanialV"
---

@DanialV

# danial Vafadar

@DanialV · Joined September 2022

## Comments

[Nice work but I have a question about the facade layer as you mentioned you subscribe to your subject in order to make sure that fresh data is available inside the subject but what about destroying that subscription doesn't it create a memory leak because whenever we call the facade method it will create a subscription and that subscription will always be on the memory how to handle this case?](https://hashnode.com/posts/clean-architecture-in-frontend/62de5b90790e138f3d3959b9/comment/632f4c943ac18d0d78a02708)

Comment · Article · Sep 24, 2022 · [Clean Architecture in Frontend](https://hashnode.com/posts/clean-architecture-in-frontend/62de5b90790e138f3d3959b9)
