react-material-calendar
react-material-calendar copied to clipboard
shouldComponentUpdate is not taking under consideration updating children
If you change number of items after first render, they'll not be rendered at all. It's because shouldComponentUpdate do not take under consideration if number of children has changed. If you have this problem add || nextProps.children.length!=this.props.children.length to shouldComponentUpdate in src/Calendar.js to make it work.