Kakapo.js
Kakapo.js copied to clipboard
Fix Router example using strategies in docs
Current docs shows this as an example:
const fetchRouter = new Router({
strategies: ['fetch']
});
Which is wrong, since that argument should be the second one, not the first one.
A proper example would be:
const fetchRouter = new Router(
{} , // interceptor options
{
strategies: ['fetch']
}
);