---
title: "Comment by Avradip Das on \"What is Reconciliation? How to create our own Reconciler?\" | Hashnode"
description: "Amazing work man. Here are a few suggestions : i. you should use a counter as the id of the blocks and increment it whenever a new block is created, because whe"
url: "https://hashnode.com/posts/what-is-reconciliation-how-to-create-our-own-reconciler/649b1cef1d94d1a645fb8107/comment/649e4fc82a0936ab01ee15f7"
---

[Discussion](https://hashnode.com/posts/what-is-reconciliation-how-to-create-our-own-reconciler/649b1cef1d94d1a645fb8107)

Comment [What is Reconciliation? How to create our own Reconciler?](https://hashnode.com/posts/what-is-reconciliation-how-to-create-our-own-reconciler/649b1cef1d94d1a645fb8107)

[Avradip Das](https://hashnode.com/@avradip08)

[Jun 30, 2023](https://hashnode.com/posts/what-is-reconciliation-how-to-create-our-own-reconciler/649b1cef1d94d1a645fb8107/comment/649e4fc82a0936ab01ee15f7)

Amazing work man.

Here are a few suggestions :

i. you should use a counter as the id of the blocks and increment it whenever a new block is created, because whenever elements are deleted from the beginning, the `block${blocks.length + 1}` sets the id of the new block with an id which could already be there in the array. suppose, block.length = 2, currently block ids are : block1, block2 if you delete block1, block.length=1, if you insert again, the new id will be block${1 + 1}\`-> block2, which already exists.

ii. whenever re-rendering the components you can use a setTimeout for each component render, so that paint flashing can be seen slowly.

[Rishabh Singh](https://hashnode.com/@rishabhsinghcodes)

[Jun 30, 2023](https://hashnode.com/posts/what-is-reconciliation-how-to-create-our-own-reconciler/649b1cef1d94d1a645fb8107/comment/649e4fc82a0936ab01ee15f7#reply-649ef0cb5b8c3caad1789078)

Hey Avradip, thanks for these amazing suggestions. I have updated the reconciler and the code in the blog with these changes. I also updated the block shape to make the re-rendered portion more visible.
