Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Fails to roll back optimistic update after error #91

@tsongas

Description

@tsongas

Shouldn't we do something like this.setState({data: comments}); before logging the error to the console on line 58 of example.js? Otherwise comments.json and current state will be out of sync after an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions