1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Preparing for upgrading expo SDK

This commit is contained in:
Zhiyuan Zheng
2020-12-10 19:19:56 +01:00
parent 2272ea3841
commit fb123b6a26
16 changed files with 507 additions and 325 deletions

View File

@ -123,4 +123,8 @@ const styles = StyleSheet.create({
}
})
export default MenuRow
export default React.memo(MenuRow, (prev, next) => {
let skipUpdate = true
skipUpdate = prev.content === next.content
return skipUpdate
})