BrightspaceHypermediaComponents / siren-sdk

This contains tools to help develop and use siren entities.
Apache License 2.0
2 stars 2 forks source link

Reduce the number of errors in Firefox and Safari when navigating while fetching. #718

Closed dbatiste closed 4 months ago

dbatiste commented 4 months ago

GAUD-158

This PR updates the entityFactory so that it will not invoke the consumer's onChange callback when there are TypeError: NetworkError when attempting to fetch resource. or AbortError: The operation was aborted errors. These errors often occur when the user navigates away while the HM fetches are still in progress. The onChange callback often generates an additional error when it tries to use a null entity.

github-actions[bot] commented 4 months ago

PR Checklist:

Did you use a semver keyword in a commit message?

Did you paste the Rally US URL in the description?

d2l-github-release-tokens[bot] commented 4 months ago

:tada: This PR is included in version 2.137.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: