Sorrow
Sorrow2y ago

✅ – Sorrow – 21-59 Dec 30

Hi, I'm following this tutorial (https://reactjs.org/tutorial/tutorial.html#showing-the-past-moves) and I'm having trouble understanding the purpose of step as the function parameter. It's not used, and taking it out breaks the entire thing. \
Tutorial: Intro to React – React
A JavaScript library for building user interfaces
Solution:
Message Not Public
Sign In & Join Server To View
Jump to solution
5 Replies
Solution
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Sorrow
Sorrow2y ago
Ohhh so would the correct interpretation be that map() requires the first parameter to be present Okok I see yeah. Renaming step to literally anything else doesn't change a thing. Thanks!
reactibot
reactibot2y ago
This question has an answer! Thank you for helping 😄 If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/902647189120118794/1058504647414919228
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
reactibot
reactibot2y ago
This thread hasn’t had any activity in 12 hours, so it’s now locked. Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/902647189120118794/1058504647414919228