/DesignBetter

Intersection Observer, React automatic transition component

Primary LanguageJavaScript

TODO:

  • Performance improvements:

    • (lazy load images using IntersectionObserver and/or import() / ReactLoadable)
    • Next-gen image formats (webp, jpeg xr and jpeg2000 using the picture element and picturefill to list fallbacks)
    • OptimizeJs and babel-plugin-transform-react-remove-prop-types webpack plugins
  • Error handling using React 16.3 error boundaries

  • More jest tests (would like to try jest-extended, jest-chain, jest-each and new jest 23 features)

  • End-to-end tests (Cypress or headless puppeteer browser)

  • More animations when transitioning between tabs (e.g. fading images in)

Running:

Testing:

  • npm install
  • npm test