helloish / react-native

Milestone 7, React-native app
0 stars 0 forks source link

Code Review #2

Open karlgunst opened 3 years ago

karlgunst commented 3 years ago

Please address the following items

karlgunst commented 3 years ago

@helloish

Please make the following changes:

helloish commented 3 years ago

Here are the issues I have fixed just for your reference:

  1. Added error handling on fetch request
  2. No Results Found is not shown when query is loading
  3. This error does not show up in console anymoreUnrecognized event: {"type":"client_log","level":"error","data":["Warning: Failed child context type: Invalid child context virtualizedCell.cellKey of type number supplied to CellRenderer, expected string.\n in CellRenderer (at VirtualizedList.js:900)\n in RCTScrollContentView (at ScrollView.js:1124)\n in RCTScrollView (at ScrollView.js:1260)\n in ScrollView (at ScrollView.js:1286)\n in ScrollView (at VirtualizedList.js:1329)\n in VirtualizedList (at FlatList.js:624)\n in FlatList (at App.js:57)\n in RCTView (at View.js:34)\n in View (at App.js:82)\n in App (created by ExpoRoot)\n in ExpoRoot (at renderApplication.js:45)\n in RCTView (at View.js:34)\n in View (at AppContainer.js:106)\n in DevAppContainer (at AppContainer.js:121)\n in RCTView (at View.js:34)\n in View (at AppContainer.js:132)\n in AppContainer (at renderApplication.js:39)"]}

All the issues you mentioned should be fixed now, please let me know if I am missing anything.