Skip to content

Add proper error description in tutorial #1867

Description

@theNaut1lus

URL: https://reactjs.org/tutorial/tutorial.html

In the Lifting State Up we reach a point where we have passed the onClick handler of square from board and we are about to define the handleClick() function and the guide states that for now we will get an error as this.handleClick is not a function
whereas I receive a slightly different error. (enclosed in screenshots)

It would benefit the tutorial to add a screenshot so that the user running through the tutorial is getting the correct type of error.
this might seem excessive but when a person is following a guide step by step even a mention of receiving a planned error seems like a step in the learning and hence we should ensure the user gets a better look at it.
I am just putting this here as maybe a discussion point or if any mod could provide some insight

Screenshot 2019-03-26 at 11 44 58 AM

Screenshot 2019-03-26 at 11 45 12 AM

(doesn't seem like a major fix and would love to send a PR for this as well, if we decide to implement this)

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