Adam Stepinski

Results 3 comments of Adam Stepinski

I'll work on `stale-if-error` first since it doesn't require a change to the API. Maybe the new method could look like this: `const { use, revalidate } = policy.check(newRequest)`

I started implementing this and realized that my proposal for `stale-if-error` doesn't work. `satisfiesWithoutRevalidation` looks at the new request before revalidation, whereas `stale-if-error` only applies if a validation attempt fails...

Hi @raffaeletani , I think you will find `ic-include` will do what you want. On your button, you can add this attribute with selectors for the forms on the page....