react.dev
react.dev copied to clipboard
Variable naming inconsistency in the tutorial documentation
Hi, I have just used the React tutorial, it is great! It helps a lot to learn the basic.
While working, I have spotted a small inconsistency on https://github.com/reactjs/reactjs.org/blob/main/content/tutorial/tutorial.md
When creating the buttons to move into the history, we are using a move variable that we are sending to jumpTo:

But jumpTo use step to make the moves:

I suggest that we switch the move and step variables of the render function to make the tutorial more understandable by beginners:

I can push a merge request for the documentation but I do not know how to change the source code linked by @gaearon on codepen: https://codepen.io/gaearon/pen/gWWZgR?editors=0010
Is there a way to do that?