Skip to content
#

best-practice

Here are 74 public repositories matching this topic...

bnomei
bnomei commented Nov 22, 2018

Question:
Lazysizes does not calculate size correctly. Images are all lowrez/pixelated.

Answer:
if using loadjs from this plugin you probably have to use the css and js to load the main css file and lazysizes javascript file. That way you force the browser to wait for the css to be loaded and applied before starting lazysizes.

return 
cshawaus
cshawaus commented Oct 17, 2019

Update the webpack configuration to be leaner and easier to understand, remove all non-essential packages/code and increase documentation in the base code.

If time permits, JSDoc and SassDoc should also be implemented and automated through GitHub pages.

  • Migrate webpack configuration to TypeScript
  • Use NPM packages to separate core code
  • Refactor JavaScript structure
  • [x]

Improve this page

Add a description, image, and links to the best-practice topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the best-practice topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.