The NFT-Minter Project is an open-source, blockchain-based application designed to simplify the NFT creation process. It allows users to upload their NFT images, generate JSON metadata for the NFT, and interact with a dynamic NFT marketplace.
when the search bar gets empty, the state is reset to show all nft cards.
I have moved the API calling logic entirely to NftList.js. This will avoid NftCard component calling API inside a loop, which in itself is a performance issue.
Changed props for NftCard to receive all the required parameters to render, rather just imgHash.
Added a loading text to enhance user experience.
Please review the code and get back to me in the review comments in case of any changes. I will be happy to make those changes.
NftList.js
. This will avoidNftCard
component calling API inside a loop, which in itself is a performance issue.NftCard
to receive all the required parameters to render, rather just imgHash.Please review the code and get back to me in the review comments in case of any changes. I will be happy to make those changes.