Logo

    anti-patter

    Explore " anti-patter" with insightful episodes like and "Is using md5 as key an anti-pattern in react?" from podcasts like " and "The Call Kent Podcast"" and more!

    Episodes (1)

    Is using md5 as key an anti-pattern in react?

    Is using md5 as key an anti-pattern in react?

    can i use the md5 checksum of the json data as key for each row in react? so context here is that i have a bunch of rows to show, and they dont have an id, and i can't use index as their order may change. so i am using the md5 of the JSON.stringify of the rows data. but i am thinking that calculating the md5 or sha1 maybe a thing which shouldn't happen in the UI render cycle, specially cause the render can happen many times as things in the top change?

    Is using md5 as key an anti-pattern in react?

    Logo

    © 2024 Podcastworld. All rights reserved

    Stay up to date

    For any inquiries, please email us at hello@podcastworld.io