Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

clear errors on successful render #477

Merged
merged 1 commit into from
Oct 16, 2018
Merged

clear errors on successful render #477

merged 1 commit into from
Oct 16, 2018

Conversation

Rich-Harris
Copy link
Member

Currently, if you navigate to a page that errors, then navigate to another page in your app, the error object will persist. So if you happen to have a property called error in a regular component, it will be incorrect.

@Rich-Harris Rich-Harris merged commit d3e5603 into master Oct 16, 2018
@Rich-Harris Rich-Harris deleted the clear-errors branch October 16, 2018 20:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant