title: Get data in component tree using RTK Query
body: <p>I think I misunderstand the purpose of RTK Query.</p>
  <p>Basically I have an app, where I need to login using email and password, this request returns me userId. That is my API file</p>
  <pre><code>export const accountApi = createApi({
  reducerPath: 'accountApi',
  baseQuery: fetchBaseQuery({ baseUrl: location.origin }),
  endpoints: (builder) =&gt; {
          getUserId: builder.query({
              query: ({ emailValue, passwordValue }) =&gt; ({
                              url: `/users`,
                              headers: {
                                'authentication-failure-code': 403,
                                'Authorization': `Basic btoa(`${(emailValue)}:${(passwordValue)}`)`,
                              }
                              responseHandler: (response) =&gt; response.text(),
              })
              transformResponse: (response) =&gt; applyDataCallback(response),
          }),
      }
  },
  </code></pre>
  <p>On my SignIn page this request returns me userID, which I need to use literally for all future request in my app. But how I can get this id in another component after logging in if I obviously don't have email and password?</p>
  <pre><code>export default function MainApp() {
  const { data: userId } = useGetUserIdQuery();
  </code></pre>
  <p>useGetUserIdQuery expects such params as login and pass, and of course code like this causes an errors.</p>
  <p>useSelector also won't work here, because it gives only not normalized cache.</p>
  <p>Am I missing some basics here? Or should I use just simple RTK for saving my id?</p>