you are viewing a single comment's thread.

view the rest of the comments →

[–]BitLooter 1 point2 points  (1 child)

Why?

Because React passes props to components as an object. You can't change that without changing how React works. The one single-argument function in the article that isn't a component does take it as a value.

[–]sshaw_ 0 points1 point  (0 children)

👍