Difference between window.serwist and @serwist/window #130
-
Is there any difference between using The API seems identical to me. Or is the difference here that I have |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@HugeLetters if you use To be honest though, I do regret having not gotten rid of |
Beta Was this translation helpful? Give feedback.
@HugeLetters if you use
@serwist/next
then@serwist/window
is not needed.window.serwist
is pretty much that but initialized for you.To be honest though, I do regret having not gotten rid of
@serwist/next
'swindow.serwist
in 9.0.0. Feels like we are introducing some unjustified and weird complexity to the codebase and the API surface.