There is a common misconception that a sheaf is simply a presheaf that preserves limits. This has been discussed here before many times and I believe I understand it well enough.
However when reading Lurie's DAGVII he goes on to define a sheaf of spectra on an $\infty$-topos $\mathfrak X$ as a presheaf $\mathcal O:{\mathfrak X}^{op}\to \mathsf {Sp}$ which preserves small limits.
Why can the higher analogue of sheaves of rings be defined like this? My guess is that, because it is higher, it sorts out whatever problems you get when defining a normal sheaf like that. But I am seriously clueless on this matter and I would love for some helpful explanations.