Service | SSL | status | Response Type | Allowed methods | Allowed headers |
---|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Performance tests such as Google Lighthouse often complain about below the fold images while lazy loading | |
// techniques may introduce a flash effect for images on bigger screens | |
// This snippet shows a solution to instantly display images as if loaded using src="" while maintaining | |
// the lazy loading benefit on smaller screens. | |
// Tip: a second and potentially better technique is to rewrite lazy loaded images to regular src="" images in a Service Worker. | |
// this snippet depends on in-view (5kb) | |
// @link https://github.com/camwiegert/in-view/ |
key
is pretty much crucial for state perservation in React. As of React 0.13 it can't do the following things:
- Clone state
<Comp key={1} /><Comp key={1} />
- Preserve component state across different parents: