The equation $x^y = y^x$ is a bit funny, as you can see from the graph, which looks roughly like a hyperbola, with the line $y=x$ added to it. The line crosses the "hyperbola" where $y=x=e$, so the derivative at that point is not well-defined.
![graph of x^y = y^x]](../../images/855a13da4073533862de58bdb385ec44.webp)
(Graph courtesy of Wolfram Alpha)
Clearly, for any other point $(c,c)$, i.e., points where $c \ne e$, the slope of the tangent to $x^y = y^x$ at $(c,c)$ is simply the slope of the line $y=x$, which is 1.
I suppose I ought to mention that if we remove the $y=x$ part and approach $(e, e)$ along the "hyperbolic" branch of $x^y = y^x$ the derivative approaches -1.
FWIW, although $x^y = y^x$ can't be expressed explicitly using elementary functions, it can be using the Lambert W function:
$$y=\exp \left( -W \left( \frac{-\ln x}{x} \right) \right)$$
Also, it's easy to generate solution pairs $(x,y)$ of $x^y = y^x$ by this simple parametrization:
Let $y = ux$
$$\begin{align}
x^y & = y^x\\
x^{ux} & = y^x\\
x^{u} & = y = ux\\
x^{u-1} & = u\\
x & = u^\frac{1}{u-1}\\
y & = u^\frac{u}{u-1}\\
\end{align}$$