You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
As of #554, preload functions take a session object as the second argument, which is the current value of the writable session store whose initial value is provided by the server.
If the store is written to, preload functions are called again and components are updated. This is unnecessary in cases where those functions accept zero or one arguments. (Come to think of it, we can skip rerunning preload altogether if accepts zero arguments, regardless of whether params and query changed — a minor optimisation but worth taking.)
The text was updated successfully, but these errors were encountered:
As of #554,
preload
functions take asession
object as the second argument, which is the current value of the writablesession
store whose initial value is provided by the server.If the store is written to,
preload
functions are called again and components are updated. This is unnecessary in cases where those functions accept zero or one arguments. (Come to think of it, we can skip rerunningpreload
altogether if accepts zero arguments, regardless of whetherparams
andquery
changed — a minor optimisation but worth taking.)The text was updated successfully, but these errors were encountered: