easyblocks icon indicating copy to clipboard operation
easyblocks copied to clipboard

add some optiomizations with react-hooks and es6 Map

Open awwit opened this issue 1 year ago • 1 comments

I made some component optimizations using react hooks like useMemo and useCallback.

I also wrapped some components in memo so they only render when their props are updated.

Since the project already uses es6 Set, we can use es6 Map. I added Map usage in a couple of places where it is appropriate.

awwit avatar Sep 25 '24 17:09 awwit

@awwit is attempting to deploy a commit to the Shopstory Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Sep 25 '24 17:09 vercel[bot]