react-native-drop-down-calendar-view icon indicating copy to clipboard operation
react-native-drop-down-calendar-view copied to clipboard

CalendarView is accessing findNodeHandle inside its render(). render() should be a pure function of props and state.

Open iveoteam opened this issue 9 years ago • 1 comments

Hey, i am getting the following error in the console;

CalendarView is accessing findNodeHandle inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.

Also the switching between days is really slow, its appears to be rendering the days everytime you switch and this can take up to 2 seconds. Any ideas on how to fix this? Thanks, J

iveoteam avatar Mar 21 '16 22:03 iveoteam

cagones

luischavezpozo avatar Apr 24 '18 20:04 luischavezpozo