In browsers that do not support request.signal For example, iOS phone version 13.6. The following code will throw an error undefined is not an object (evaluating ' request.signal.aborted ')
if (request.signal.aborted) {
// Handle aborted request
}
Can it be changed to the code below to improve compatibility?
What version of React Router are you using?
react-router-dom 6.26.1
Steps to Reproduce
Use lazy loading for the page.
In browsers that do not support
request.signal
For example, iOS phone version 13.6. The following code will throw an errorundefined is not an object (evaluating ' request.signal.aborted ')
Can it be changed to the code below to improve compatibility?
Expected Behavior
Do not throw an error.
Actual Behavior
Threw an error.