solid-auth-client
solid-auth-client copied to clipboard
Document request event
Doc said there are three types of events https://github.com/solid/solid-auth-client#events
But what's this 'request' event? https://github.com/solid/react-components/blob/54ab590ffb79e645f5a4c898057ab94e282b3bad/src/UpdateTracker.js#L95
Good spot!
This was hastily added for the React components in v2.3.0 (https://github.com/solid/solid-auth-client/commit/915996d1331c98f517dfc66bd4dd9e0ec5699e38).
It is a way of keeping track of what requests pass through fetch in order to perform things like cache invalidation.
We can/should add it to the documentation.