To make this kata even more useful for learning it's worth adding a short description of custom hooks. Why they are used, when and how. A reference to a reactjs.org texts could help too.
The task points to the recommendation of avoiding indexes in keys and yet tests exactly that.
Why not using egg names instead of index for keys?
Still thanks for the kata!
To make this kata even more useful for learning it's worth adding a short description of custom hooks. Why they are used, when and how. A reference to a reactjs.org texts could help too.
The task points to the recommendation of avoiding indexes in keys and yet tests exactly that.
Why not using egg names instead of index for keys?
Still thanks for the kata!
Wasn't it said that the id should be set to 'priority'?