Sorry for the late reply, this lazyLoad: index > 1 is there mostly for an <Image/> component we have. We only wanted images to lazy load if they were later down the page, so the first module we had would never lazy load images.
lazyLoad: index > 1
<Image/>
Can you give a hint about this isServer() function I've asked above this comment? Thanks a lot in advance
isServer()
I'm curious about this, as well. But I suppose you could just check for the existence of window.
window
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sorry for the late reply, this
lazyLoad: index > 1
is there mostly for an<Image/>
component we have. We only wanted images to lazy load if they were later down the page, so the first module we had would never lazy load images.Can you give a hint about this
isServer()
function I've asked above this comment?Thanks a lot in advance
I'm curious about this, as well. But I suppose you could just check for the existence of
window
.