helloish / react-native

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

Bug : When No Matches are found - infinite loading #1

Open karlgunst opened 3 years ago

karlgunst commented 3 years ago

Steps

  1. Enter "John Smith" in the search
  2. Click "Search"

Expected Result

Actual Result

Screen Shot 2021-07-02 at 9 27 44 AM

karlgunst commented 3 years ago

@helloish this issue still exists

caused by not catching network errors, see error below

Unrecognized event: {"type":"client_log","level":"warn","data":["Possible Unhandled Promise Rejection (id: 0):\nTypeError: Network request failed\nhttp://127.0.0.1:19001/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:30183:33\n_callTimer@http://127.0.0.1:19001/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:31092:17\ncallTimers@http://127.0.0.1:19001/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:31300:19\n__callFunction@http://127.0.0.1:19001/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:3214:36\nhttp://127.0.0.1:19001/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:2946:31\n__guard@http://127.0.0.1:19001/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:3168:15\ncallFunctionReturnFlushedQueue@http://127.0.0.1:19001/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:2945:21\ncallFunctionReturnFlushedQueue@[native code]"]}