A general rule to follow is that we always should try at first to apply the simplest method for any limit. Therefore, when we face with an indeterminate form, I suggest at first to try with:
1. Algebraic manipulation, aimed to eliminate the source of that indetermination, e.g.
$$\lim_{x\to 1} \frac{x^2-3x+2}{x^2-1}=\lim_{x\to 1} \frac{(x-1)(x-2)}{(x-1)(x+1)}=\lim_{x\to 1} \frac{x-2}{x+1}=-\frac12$$
2. Standard limits, e.g.
$$x\to 0, \quad \frac{\sin x}x\to 1, \quad \frac{e^x-1}{x}\to 1, \quad x\log x \to 0,\quad \ldots$$
or related results derived from them, see for example: Are all limits solvable without L'Hôpital Rule or Series Expansion.
When we can't solve a limit in an indeterminate form by that basic tools, then we are allowed to use more advanced methods which involve derivatitive concepts and notably l'Hopital rule and Taylor's expansion.
In my opinion, with some special exception and when we are not explicitly requested/forced to use l'Hopital, we always should prefer Taylor's expansion not only because it is a more powerful and effective method but also because it allows us to really understand what is going on and which are the terms which really count in the expression whereas l'Hopital is a blind/black box method which doesn't add any contribution to our knowledge about limits.
Therefore if you know Taylor's expansion, in general, I suggest to proceed always by that.
Edit
The given example is one of the first category that is "solvable by elementary methods".
Notably we have that as $x \to 0^+$ (otherwise the expression in not defined)
$$\left(\sin x\right)^{\frac{1}{x}}+\left(\frac{1}{x}\right)^{\sin x}=\left(\sin x\right)^{\frac{1}{x}}+\frac{1}{x^{\sin x}}\to 0 +1=1$$
Indeed we have that
since by standard limits
$$\sin x \log x= \frac{\sin x}x\cdot x\log x\to 1 \cdot 0 =0$$