问题
I was testing Sapper and got stuck with complex TweenMax page transitions I'm used to do when working with BarbaJS or HighwayJS, so I'm wondering is there's a way to disable hydration in Sapper so that I can only have the SSR website I can bend to my will.
If there's a way, that would be great.
回答1:
Sure — just delete the code in src/client.js
that starts the app
来源:https://stackoverflow.com/questions/58641735/disable-hydration-in-sapper