title: How to call one method from reducer within another reducer in redux/toolkit
body: <p>Help me, please.
  I have got 2 reducers created with createSlice method of redux/toolkit.</p>
  <p>user.reducer.js</p>
  <pre><code>import { createSlice } from '@reduxjs/toolkit';
  
  const initialState = {
      id: 123,
      name: 'Owner123',
      cats: [],
  };
  
  const reducer = createSlice({
      name: 'user',
      initialState,
      reducers: {
          addCat: (state, action) =&gt; {
              state = {
                  ...state,
                  cats: [...state.cats, action.payload],
              };
  
              return state;
          },
          feedCat: (state, action) =&gt; {
              // call eat method from catReducer
          },
      },
  });
  
  export const { addCat, feedCat } = reducer.actions;
  export const userReducer = reducer.reducer;
  </code></pre>
  <p>cat.reducer.js</p>
  <pre><code>import { createSlice } from '@reduxjs/toolkit';
  
  const initialState = {
      id: null,
      name: null,
      age: null,
      color: null,
      foodLevel: null,
      healthLevel: null,
      weight: null,
  };
  
  const reducer = createSlice({
      name: 'cat',
      initialState,
      reducers: {
          createCat: (
              state,
              {
                  payload: {
                      id,
                      name,
                      age,
                      color,
                      foodLevel,
                      healthLevel,
                      weight,
                  },
              }
          ) =&gt; {
              state = {
                  id: id,
                  name,
                  age,
                  color,
                  foodLevel,
                  healthLevel,
                  weight,
              };
  
              return state;
          },
          eat: (state, action) =&gt; {
              console.log('hello from cat');
          },
      },
  });
  
  export const { createCat, eat } = reducer.actions;
  export const catReducer = reducer.reducer;
  </code></pre>
  <p>My question is: How can I call a method from cat reducer within user reducer?</p>
  <p>I have already tried some guides from StackOverflow like catReducer.caseReducers.eat(), but it does not work.</p>