@curi/route-prefetch
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@curi/route-prefetch

npm

The prefetch route interaction lets you call a route's on.every() method outside of route matching.

Note: If you use this route interaction, then your on.every() functions should be caching the data. This is because the route's on.every() function is always called when matching routes. Caching enables you to bail early with the prefetched data.

Installation

npm install --save @curi/route-prefetch

For more information, please check out the @curi/route-prefetch page on the documentation website.

/@curi/route-prefetch/

    Package Sidebar

    Install

    npm i @curi/route-prefetch

    Weekly Downloads

    34

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    10.9 kB

    Total Files

    9

    Last publish

    Collaborators

    • pshrmn