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 5 months 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