Code Smell 90 – Implementative Callback Events When creating events, we should decouple the trigger from the action. TL;DR: Name your functions acording to what happened. Name the events after “what happened”, not “what you should do” Wrong const Item = ({name, handlePageChange)} => <li onClick={handlePageChange}> {name} </li> //handlePageChange is coupled to what you decide…

Read More