- add a client context provider - if context exists when calling hook, pass its value as a client option to the query function - if client is specified in options, it overrides anything in context