Answers for "how to add react.memo in export list"

0

how to add react.memo in export list

export const MemoMainPostTopic = React.memo(MainPostTopic);
 

//or

const MainPostTopic = memo(() => {
 ...
})
export { MainPostTopic };
Posted by: Guest on July-12-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language