Frontity release: Infinite Scroll hooks

New features

Enhancements

Bug fixes

:bulb: To keep Frontity and its packages updated, you can follow this guide in our documentation.


Packages Changelog


@frontity/google-analytics@2.0.0

Major Changes

Patch Changes


@frontity/core@1.11.0

Minor Changes

  • 3673a228 #687 Thanks @cristianbote! - Expose the render, template and App methods to override the built-in default with user-defined ones.

Patch Changes


@frontity/hooks@2.2.0

Minor Changes

  • 31102365 #429 Thanks @orballo and @DAreRodz for the amazing work! - Implements the brand new and long-awaited infinite scroll hooks collection, featuring useArchiveInfiniteScroll, usePostTypeInfiniteScroll and useInfiniteScroll. Feature Discussion
  • 32c03d58 #533 Thanks @orballo! - Adds isError boolean to infinite scroll hooks will be true when either the last post or the last page has failed to fetch.

Patch Changes


@frontity/router@1.3.0

Minor Changes

  • 31102365 #429 Thanks @orballo! - Implements actions.router.updateState() which takes a browser state object as an argument and executes a window.history.replaceState() with that object and the current url.

Patch Changes


@frontity/tiny-router@1.4.0

Minor Changes

  • 31102365 #429 Thanks @orballo! - Implements actions.router.updateState() which takes a browser state object as an argument and executes a window.history.replaceState() with that object and the current url.

Patch Changes


@frontity/amp@0.0.2

Patch Changes


frontity@1.14.2

Patch Changes


@frontity/types@1.7.2

Patch Changes


@frontity/wp-source@1.11.2

Patch Changes

  • 7e701d57 #717 Thanks @michalczaplinski! - Update the value of link in actions.fetch if there’s an internal redirection.
  • 32c03d58 #533 Thanks @orballo! - Fix an array check by using Array.isArray instead of instanceof Array.
  • 804f19fe #686 Thanks @michalczaplinski! - Change how libraries.source.normalize|parse|stringify used inside of actions.source.fetch(). From now on, they are not imported from their module but received from the libraries parameter of actions.source.fetch.
  • Updated dependencies [7c3f0769, 49020718, 15e8f1d8, 7992fb85]:
    • frontity@1.14.2
4 Likes