this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Better memo for Notification

+3 -1
+3 -1
src/components/notification.jsx
··· 357 357 return <Link {...props} data-read-more="Read more →" ref={ref} />; 358 358 } 359 359 360 - export default memo(Notification); 360 + export default memo(Notification, (oldProps, newProps) => { 361 + return oldProps.notification?.id === newProps.notification?.id; 362 + });