What is the best practice defining a function defaultProps that is empty in ReactJS?
My solution so far is either an empty arrow function or a null value. Which way would be better?
MyComponent.defaultProps = {
onClick: () => {},
onClickNull: null,
};