Skip to content

[error-boundaries] Redirect isn't working by itself. #43

Description

@AbdAllahAbdElFattah13

Since componentDidUpdate won't be called for the 1st render, if any error happens in the first render, it won't get redirection automatically. This is mentioned in the course itself here https://frontendmasters.com/courses/complete-react-v6/redirect-on-error/ @-0:47 seconds.

I can create a PR for a fix (here and in the other repo) in a couple of days once this issue is acknowledged/approved.
Let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions