Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src
tests
types
.gitignore
.size-snapshot.json
CHANGELOG.md
LICENSE
README.md
jest.config.js
package-lock.json
package.json
rollup.config.js
tsconfig.json

README.md

@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.