Console logging out selected dom elements with $0
This is just a short record of a discovery [late 😬] I made yesterday. There I was, working away on Kent C Dodd’s Epic react fundamentals (highly recommended by the way) when he’s demonstrating something via a console log and enter $0
to get the selected DOM node in his…