Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

preloadRoutes should be called prefetchRoutes #166

Closed
Rich-Harris opened this issue Mar 5, 2018 · 1 comment
Closed

preloadRoutes should be called prefetchRoutes #166

Rich-Harris opened this issue Mar 5, 2018 · 1 comment

Comments

@Rich-Harris
Copy link
Member

As I'm writing the docs for 0.8 I'm realising that the distinction between preload and prefetch is a bit confusing. It's not quite so bad if preloadRoutes becomes prefetchRoutes, because then there's symmetry with the programmatic prefetch function, and preload always means loading the data for a specific page.

Rich-Harris added a commit that referenced this issue Mar 5, 2018
rename preloadRoutes to prefetchRoutes
@Rich-Harris
Copy link
Member Author

fixed in 0.8.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant