Wk-notes-01-13-touchscreen-hover-and-apis

iOS touch double tap issue

When there is a hover event, iOS would try to be smart to trigger the mouse enter event at the first touch/tap, and then trigger click event at the second touch/tap.

Programmically media check

window.matchMedia

Enzyme Pitfalls

component.setState() or `component.instance().setState() will change the component dom tree, but it does not update the snapshot right away. You need to call component.update() to keep the snapshot in sync.

Last updated