how to use memo in react native code example
Example: how to add react.memo in export list
export const MemoMainPostTopic = React.memo(MainPostTopic);
//or
const MainPostTopic = memo(() => {
...
})
export { MainPostTopic };
export const MemoMainPostTopic = React.memo(MainPostTopic);
//or
const MainPostTopic = memo(() => {
...
})
export { MainPostTopic };