today is tomorrow's past

today is tomorrow's past

I help people create remarkable things. Focus on the customer and quality. Opinions are my own. Photography is my other passion.

2-Minute Read

This is a reminder to myself. And to anybody who needs a creative solution to test an event handler directly attached to a DOM node of a react component. Last Friday I ran into the situation to test my react component to ensure that the state updates correctly when the pointerenter and pointerleave event fires. Testing for these events is usually no big deal when you use reactjs in one way or the other (either web or native).

Recent Posts

Categories

About

Always something to think about