June 2021
Intermediate to advanced
398 pages
9h 35m
English
Compiling the file, we get a few errors.
The venue-display file that is kicking off the call to React is not handling a potential undefined value.
The SortController is doing a parseInt with a potentially null value.
The debounce method in SearchController is unhappy and we may just need to restructure that.
The CalendarController has a few cases where we use target.dataset.
The thunk dispatches in App don’t like that they may potentially have nulls.
Using other strict options would give us more errors, in particular, I think the “no explicit any” might be a big problem, but I think this should be enough for us to deal with to get the idea.
Our venue_display file has basically the same issue four times over: we have ...