A wild handleEvent appeared ๐ฎ !!!
Let's say, we have a DOM element by the name of element and we want to add event listeners to it. How would you do so ?
Here are two ways which can come into mind :-
const handleClick = () =>{console.log('You can remove me later safely')}
element.add...
blog.lakbychance.com3 min read