react-native-calendars icon indicating copy to clipboard operation
react-native-calendars copied to clipboard

General bugs and performance issues

Open ethanshar opened this issue 3 years ago • 0 comments

I went over ExpandableCalendar code, there are a few issues I found and In general the context communication with all of the component might have bugs.

  • I marked with TODOs places I think might introduce a bug
  • I added a debounce in AgendaList for sync scrolls that happen to often (IMO the scrolling is pretty heavy)
  • In the Expandable Provider, we should get rid all the presenter usages - I added a specific comment there. Let me know what u think. I personally think that without that it's impossible to refactor the code
  • I suggest working only on Android where performance are less... good. In general I found a bug that I think might explain some of the problems. In ExpandableCalendar screen, try moving a few months fast with the arrows. after you'll stop you'll see it'll stuck in a loop of moving between two months - my theory is that we have something that trigger extra scrolls

ethanshar avatar Jul 12 '22 07:07 ethanshar