react-native-easy-calendar
Version:
Customizable, easy-to-use, performant calendar components for React Native
11 lines (10 loc) • 326 B
text/typescript
export default (prevProps: Record<string, any>, nextProps: Record<string, any>) => {
Object.keys(nextProps)
.filter((key) => {
return nextProps[key] !== prevProps[key];
})
.map((key) => {
console.log('changed property:', key, 'from', prevProps[key], 'to', nextProps[key]);
});
return false;
};