Frontity release: Improve lazy loading in Frontity

New features

  • Reimplementation of useInView hook as a wrapper for react-intersection-observer that checks if IntersectionObserver is supported by the browser.

  • Implements useConnect() and adds options object { injectProps: boolean } to connect() .

  • Add a --publicPath option to build and dev commands and pass it to webpack builds.

Enhancements

Bug fixes

  • Html2react script processor does not work with script type=module. #436
  • actions.source.fetch should populate link, route, page and query even if data exists. #365
  • actions.source.fetch with “force: true” doesn’t work as expected. #340
  • Head Tags plugin fails when HTML of <head> is malformed. #27

Packages Changelog


@frontity/[email protected]

Major Changes

  • 8a0bb8f0 #413 Thanks @orballo! - Reimplementation of useInView hook as a wrapper for react-intersection-observer that checks if IntersectionObserver is supported by the browser.

Patch Changes


@frontity/[email protected]

Minor Changes

  • 996865a2 #404 Thanks @orballo! - Implements useConnect() and adds options object { injectProps: boolean } to connect().

@frontity/[email protected]

Minor Changes

  • 661ac083 #420 Thanks @DAreRodz! - Add a --publicPath option to build and dev commands and pass it to webpack builds.

Patch Changes


[email protected]

Minor Changes

  • 661ac083 #420 Thanks @DAreRodz! - Add a --publicPath option to build and dev commands and pass it to webpack builds.

Patch Changes


@frontity/[email protected]

Minor Changes

Patch Changes


@frontity/[email protected]

Patch Changes


@frontity/[email protected]

Patch Changes


@frontity/[email protected]

Patch Changes


@frontity/[email protected]

Patch Changes


@frontity/[email protected]

Patch Changes


Plugins Changelog


[email protected]

Patch Changes

  • 0c39e5b #34 - Remove warning messages from REST API responses when head’s HTML code is malformed
1 Like